Split into library and executable

This commit is contained in:
2024-09-21 17:31:57 +02:00
parent 111fe3cee5
commit 987a7809bb

View File

@@ -13,15 +13,21 @@ common common
ghc-options: -Wall ghc-options: -Wall
default-language: GHC2024 default-language: GHC2024
executable byg library
import: common import: common
main-is: Main.hs hs-source-dirs: src
other-modules: exposed-modules:
Sources Sources
Functions Functions
ComputationM ComputationM
hs-source-dirs: src
build-depends: build-depends:
base base
, mtl , mtl
, bytestring , bytestring
executable byg
import: common
main-is: src/Main.hs
build-depends:
base
, byg