@se Vehical plane train car truck
julia> Vehical.VehicalEnum
Enum Main.Vehical.VehicalEnum:
plane = 0
train = 1
car = 2
truck = 3
julia> Vehical.car
car::VehicalEnum = 2
julia> @se Lang zh=>"中文"*"Chinese" en=>"English" ja=>"日本语"
Main.Lang
julia> string(Lang.zh)
"中文Chinese"
julia> Lang.fromstr("中文Chinese") == Lang.zh
true
-
Notifications
You must be signed in to change notification settings - Fork 4
Julia enum made nicer
License
kindlychung/SuperEnum.jl
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Julia enum made nicer
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published