Skip to content

Instantly share code, notes, and snippets.

@nurpax
Last active August 29, 2015 13:56
Show Gist options
  • Save nurpax/8964143 to your computer and use it in GitHub Desktop.
Save nurpax/8964143 to your computer and use it in GitHub Desktop.
cabal sandbox example
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
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