You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/03/18 22:46:02 UTC

[GitHub] [arrow-julia] jonalm commented on pull request #309: WIP change scoped enums behavior

jonalm commented on pull request #309:
URL: https://github.com/apache/arrow-julia/pull/309#issuecomment-1072871189


   I will to find time for that within a couple of days. But before I do so, should we reconsider the name of the primitive type, i.e. something other than with leading underscore? I just saw the announcement of enumx.jl https://discourse.julialang.org/t/ann-enumx-jl-improved-enums-for-julia/78096 , which has implemented a similar idea, but using `T` as the name of the type inside the module. E.g. for `@scopedenum MyEnum::Base.UInt16  A=0 B=1` the values would be accessed as `MyEnum.A` and the primitive type could be accessed as `MyEnum.T`.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org