Created
April 12, 2015 21:21
-
-
Save jlamothe/639bff3a82d206a7e820 to your computer and use it in GitHub Desktop.
Pizza.hs
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
| module Pizza ( Pizza (..) | |
| , Topping (..) | |
| ) where | |
| data Pizza = Pizza [Topping] | |
| deriving (Eq, Show) | |
| data Topping = | |
| Pepperoni | | |
| GreenPepper | | |
| Mushroom | | |
| Olives | | |
| Onion | | |
| Anchovies | | |
| Bacon | | |
| Pineapple | | |
| Sausage | | |
| Chicken | |
| deriving (Eq, Show) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment