Small thing
This commit is contained in:
parent
097b70795f
commit
d6fd426d31
|
@ -2,10 +2,11 @@ module Main where
|
||||||
|
|
||||||
import System.Random
|
import System.Random
|
||||||
|
|
||||||
data Fastfood = Friet
|
data Fastfood = Kapsalon
|
||||||
| Kapsalon
|
|
||||||
| Pizza
|
| Pizza
|
||||||
| Lasagne
|
| Lasagne
|
||||||
|
| Nachos
|
||||||
|
| Durum
|
||||||
deriving (Show, Eq, Ord, Enum, Read, Bounded)
|
deriving (Show, Eq, Ord, Enum, Read, Bounded)
|
||||||
|
|
||||||
instance Random Fastfood where
|
instance Random Fastfood where
|
||||||
|
|
|
@ -20,6 +20,6 @@ executable what-should-i-eat
|
||||||
main-is: Main.hs
|
main-is: Main.hs
|
||||||
-- other-modules:
|
-- other-modules:
|
||||||
-- other-extensions:
|
-- other-extensions:
|
||||||
build-depends: base ^>=4.17.2.1, random
|
build-depends: base ^>=4.17.2.1, random, time
|
||||||
hs-source-dirs: app
|
hs-source-dirs: app
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
|
Loading…
Reference in a new issue