Takafumi Arakaki

Results 748 comments of Takafumi Arakaki

So I just filed an issue in https://github.com/JuliaLang/julia/issues/35341 with some summary of the things we discovered so far. I'm also trying to build `julia` with ASAN https://github.com/JuliaLang/julia/issues/35338#issuecomment-607550149 hoping that it...

But what is an array-like semantics? I think we still can define semantics for corner cases? The type-widening API is more-or-less [1] a strict superset of the non-type-changing API because...

FYI, BangBang internally now has [`implements(f!, x)`](https://tkf.github.io/BangBang.jl/dev/internals/#BangBang.implements-Tuple{Any,Any}) and [`possible(f!, args...)`](https://tkf.github.io/BangBang.jl/dev/internals/#BangBang.possible) to query the capability of containers/objects. ATM only `implements(setindex!, x)`, `implements(push!, x)`, and `implements(setproperty!, x)` are defined. They are like...

It's all type-level so everything should be done at compile time.

The `Union` is just an implementation detail to minimize code duplication. `implements` is just yet another trait system. You can add anything afterwards. That's how static arrays are treated.

I'm just mentioning that I explored the API @oxinabox mentioned above https://github.com/JuliaDiffEq/ArrayInterface.jl/issues/22#issuecomment-518005555. (I'm also suggesting to create a new package (upstream to ArrayInterface.jl) that can handle arbitrary containers and objects,...

I think I have the same issue. Here is an MWE (full repository in https://github.com/tkf/MyPlayground.jl/tree/documenter-private): `docs/src/index.md`: ``````markdown # MyPlayground.jl ```@autodocs Modules = [MyPlayground] Private = false ``` `````` `src/MyPlayground.jl`: ```julia...

> Having some sort of better support for public unexported names would be great though. :+1: > The problem is: how would Documenter figure out which unexported names are public...

@pkofod After posted the PR, I realized that the first version didn't provide the way to access iteration state (e.g., getting "best minimizer so far") so I added accessor functions...

Aside: Using this API a few times, I realized that `istate = istate′` pattern for leaking the iteration variable to the outer scope is rather ugly although I guess there...