Last active
August 29, 2015 13:56
-
-
Save nurpax/8964143 to your computer and use it in GitHub Desktop.
cabal sandbox example
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: install-test | |
version: 0.1 | |
license: AllRightsReserved | |
build-type: Simple | |
cabal-version: >=1.8 | |
executable install-test | |
hs-source-dirs: . | |
main-is: Test.hs | |
build-depends: base >= 4.5 && < 5 | |
, text |
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
import qualified Data.Text as T | |
main :: IO () | |
main = putStrLn (T.unpack . T.pack $ "hello") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment