Add the haskell book

This commit is contained in:
2025-12-09 16:32:32 +01:00
parent c95abc31d6
commit 3624c712d7
67 changed files with 1576 additions and 0 deletions

11
Haskell-book/11/Garden.hs Normal file
View File

@@ -0,0 +1,11 @@
module Garden where
data FlowerType = Gardenia
| Daisy
| Rose
| Lilac
deriving Show
type Gardener = String
data Garden = Garden Gardener FlowerType deriving Show