Created
June 9, 2020 10:48
-
-
Save tomsmeding/e3a315a0c58f296cb92f6a85b49faa7e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
import Submod | |
main :: IO () | |
main = return () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Submod where | |
val :: Int | |
val = 42 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cabal-version: 2.2 | |
name: test | |
version: 0.1.0.0 | |
author: Tom Smeding | |
maintainer: tom.smeding@gmail.com | |
build-type: Simple | |
executable test | |
hs-source-dirs: . | |
main-is: Main.hs | |
other-modules: Submod | |
default-language: Haskell2010 | |
ghc-options: -O2 -Wall | |
build-depends: base >=4.13 && <4.14 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment