Last active
January 7, 2019 17:53
-
-
Save vvviiimmm/53edb2213536d72966968748a2dc3a1b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data Person = Person String Int | |
-- OR | |
data Person = Person | |
{ name :: String | |
, age :: Int | |
, address :: Address | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment