Hello,
I've covered large part of Julia manual, but didn't encounter any
example how is one supposed to declare Enumeration data type, iow.
something like:
type
TDirection = enum
north, east, south, west
in Nimrod, or
data Direction = North | East | South | West
in Haskell?
I've seen about TypeUnions, but wonder if there is some other solution
for it?
Sincerely,
Gour
--
The humble sages, by virtue of true knowledge, see with equal
vision a learned and gentle brāhmana, a cow, an elephant, a dog
and a dog-eater.
http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810