mirror of
https://github.com/macocianradu/RosettaHaskellCompiler.git
synced 2026-03-18 21:10:07 +00:00
Added haddock documentation
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
module Model.Enum where
|
||||
|
||||
-- |The representation of a Rosetta enum data type
|
||||
data EnumType = MakeEnum {
|
||||
enumName :: String,
|
||||
enumDescription :: Maybe String,
|
||||
enumValues :: [EnumValue]
|
||||
} deriving (Show, Eq)
|
||||
|
||||
-- |The representation of a Rosetta enum value type
|
||||
data EnumValue = MakeEnumValue {
|
||||
enumValueName :: String,
|
||||
enumValueDescription :: Maybe String,
|
||||
|
||||
Reference in New Issue
Block a user