tk3369 / BinaryTraits.jl

Can do or not? It's easy. See https://tk3369.github.io/BinaryTraits.jl/dev/
MIT License
53 stars 3 forks source link

@implement requires argument types which can be expressed as Symbols #26

Closed KlausC closed 4 years ago

KlausC commented 4 years ago

The specified argument type needs to be simple, for example no type parameter allowed

Right, I realized the missing feature as well. Currently, it needs to be a simple “symbol” for the parser to work. I guess it’s less convenient but you can define a constant and then use it in the interface. See the CartesianIndexing trait example.

KlausC commented 4 years ago

It would be really convenient to have that feature. I have a simple code change for that.

tk3369 commented 4 years ago

Fixed by #33