Skip to content

Instantly share code, notes, and snippets.

@mikemckibben
Last active October 30, 2017 16:23
Show Gist options
  • Save mikemckibben/5473d8c947c2a65d10e63259982868d1 to your computer and use it in GitHub Desktop.
Save mikemckibben/5473d8c947c2a65d10e63259982868d1 to your computer and use it in GitHub Desktop.
Stack Template for hackerrank project stub
{-# START_FILE {{name}}.cabal #-}
name: {{name}}
version: 0.1.0.0
build-type: Simple
cabal-version: >=1.10
executable solution
hs-source-dirs: .
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: base
default-language: Haskell2010
{-# START_FILE Setup.hs #-}
import Distribution.Simple
main = defaultMain
{-# START_FILE Main.hs #-}
module Main where
main :: IO ()
main = do
return ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment