You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia> @memoize f(_::Val{N}) where N = N
ERROR: syntax: all-underscore identifiers are write-only and their values cannot be used in expressions around /usr/local/julia-depot/packages/Memoization/7WxyR/src/Memoization.jl:209
Of course one could omit the underscore. However, it would be great if the statement
All function definition or function call forms with args and/or kwargs and/or type parameters work.
from the READE file were true.
The text was updated successfully, but these errors were encountered:
By the way, you can iterate over a String, so you could check that a (non-empty) Symbolsym is all-underscore simply by saying all(==('_'), string(sym)).
Example:
Of course one could omit the underscore. However, it would be great if the statement
from the READE file were true.
The text was updated successfully, but these errors were encountered: