Add remaining haskell book exercises

This commit is contained in:
2025-12-11 10:28:11 +01:00
parent 3624c712d7
commit 98329e0a3d
221 changed files with 8033 additions and 2 deletions

View File

@@ -0,0 +1,45 @@
name: optional
version: 0.1.0.0
author: Eugen Wissner
maintainer: belka@caraus.de
copyright: 2018 Eugen Wissner
license: BSD3
build-type: Simple
cabal-version: >= 1.10
library
hs-source-dirs:
src
build-depends:
base >=4.7 && <5
exposed-modules:
Optional
other-modules:
Paths_optional
default-language: Haskell2010
test-suite optional-test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs:
test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, hspec
, optional
other-modules:
Paths_optional
default-language: Haskell2010
test-suite first-test
type: exitcode-stdio-1.0
main-is: First.hs
hs-source-dirs:
app
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, QuickCheck
, optional
default-language: Haskell2010