Skip to content

Instantly share code, notes, and snippets.

@tomsmeding
Created June 9, 2020 10:48
Show Gist options
  • Save tomsmeding/e3a315a0c58f296cb92f6a85b49faa7e to your computer and use it in GitHub Desktop.
Save tomsmeding/e3a315a0c58f296cb92f6a85b49faa7e to your computer and use it in GitHub Desktop.
module Main where
import Submod
main :: IO ()
main = return ()
module Submod where
val :: Int
val = 42
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