Before asking the stackoverflow question, I tried to create a gui with three text fields, which would be reflected on the other side as labels. The data the fields would represent was:
data Person = Person {
name :: String
, age :: Int
, location :: Maybe String
}
I believe this is a good example as this shows converting String -> Int,
and handling values that might or might not exist.
--
Mats Rauhala
MasseR
pgpUhBLAHtHQa.pgp
Description: PGP signature
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
