mirror of
https://github.com/macocianradu/RosettaHaskellCompiler.git
synced 2026-03-18 21:10:07 +00:00
initial commit
This commit is contained in:
13
src/Model/Enum.hs
Normal file
13
src/Model/Enum.hs
Normal file
@@ -0,0 +1,13 @@
|
||||
module Model.Enum where
|
||||
|
||||
data EnumType = MakeEnum {
|
||||
enumName :: String,
|
||||
enumDescription :: Maybe String,
|
||||
enumValues :: [EnumValue]
|
||||
} deriving (Show)
|
||||
|
||||
data EnumValue = MakeEnumValue {
|
||||
enumValueName :: String,
|
||||
enumValueDescription :: Maybe String,
|
||||
enumValueDisplayName :: Maybe String
|
||||
} deriving (Show)
|
||||
Reference in New Issue
Block a user