Last active
March 20, 2019 08:10
-
-
Save techno-tanoC/f7a463459299c229ee82 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 Fruit = Apple | Lemon | Banana | |
data Beverage = Coffee | Tea | Beer | |
data Temperature = Hot | Cool | |
-{ | |
Food = { Food, Lemon, Curry } | |
Flavor = { Sweet, Sour, Spicy } | |
Temperature = { Hot, Cool } | |
-} | |
data Drink = Drink Beverage Temperature | |
deriving (Show, Eq) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment