Split into library and executable
This commit is contained in:
		@@ -13,15 +13,21 @@ common common
 | 
			
		||||
    ghc-options: -Wall
 | 
			
		||||
    default-language: GHC2024
 | 
			
		||||
 | 
			
		||||
executable byg
 | 
			
		||||
library
 | 
			
		||||
    import: common
 | 
			
		||||
    main-is:          Main.hs
 | 
			
		||||
    other-modules:
 | 
			
		||||
    hs-source-dirs: src
 | 
			
		||||
    exposed-modules:
 | 
			
		||||
        Sources
 | 
			
		||||
        Functions
 | 
			
		||||
        ComputationM
 | 
			
		||||
    hs-source-dirs:   src
 | 
			
		||||
    build-depends:
 | 
			
		||||
        base
 | 
			
		||||
      , mtl
 | 
			
		||||
      , bytestring
 | 
			
		||||
 | 
			
		||||
executable byg
 | 
			
		||||
    import: common
 | 
			
		||||
    main-is: src/Main.hs
 | 
			
		||||
    build-depends:
 | 
			
		||||
        base
 | 
			
		||||
      , byg
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user