-
-
Save aavogt/7326436 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 M where |
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
#/bin/bash | |
cabal configure --enable-test | |
cabal repl <<< "import Data.Map" |
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 Data.Map | |
main = print () |
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
name: tst | |
version: 0.1.0.0 | |
license-file: LICENSE | |
author: aavogt | |
maintainer: [email protected] | |
build-type: Simple | |
cabal-version: >=1.10 | |
library | |
exposed-modules: M | |
build-depends: base >=4.6 && <4.7 | |
default-language: Haskell2010 | |
test-suite test1 | |
type: exitcode-stdio-1.0 | |
main-is: test.hs | |
build-depends: containers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
./runtests.sh
fails with::
Could not find module
Data.Map' It is a member of the hidden package
containers-0.5.0.0'.Perhaps you need to add `containers' to the build-depends in your .cabal file.