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