data Struct = Constructor {
field :: String,
value :: Integer
}
deriving (Show)
Prelude> let item = Constructor "Module" 100
Prelude> field s
"Module"
Prelude>value s
100
Prelude> signum 4
1
Prelude> signum (-4)
-1