Skip to content

Commit

Permalink
stack init
Browse files Browse the repository at this point in the history
  • Loading branch information
JustusAdam committed Jan 14, 2016
1 parent 1ffa509 commit 43848f5
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -15,3 +15,4 @@ cabal.sandbox.config
*.aux
*.hp
.DS_Store
.stack-work/
1 change: 0 additions & 1 deletion mustache.cabal
Expand Up @@ -55,7 +55,6 @@ library
, filepath
, scientific
, base-unicode-symbols
, ja-base-extra >= 0.2.1
, containers
hs-source-dirs: src/lib
default-language: Haskell2010
Expand Down
3 changes: 1 addition & 2 deletions src/lib/Text/Mustache/Compile.hs
Expand Up @@ -21,7 +21,6 @@ import Control.Monad.State
import Control.Monad.Trans.Either
import Control.Monad.Unicode
import Data.Bool
import Data.Function.JAExtra
import Data.HashMap.Strict as HM
import Data.Monoid.Unicode ((∅))
import Data.Text hiding (concat, find, map, uncons)
Expand Down Expand Up @@ -122,7 +121,7 @@ getPartials' _ = (∅)


flattenPartials TemplateCache TemplateCache
flattenPartials = stuffWith $ foldrWithKey $ insertWith discard
flattenPartials m = foldrWithKey (insertWith (\_ b -> b)) m m


{-|
Expand Down
32 changes: 32 additions & 0 deletions stack.yaml
@@ -0,0 +1,32 @@
# For more information, see: https://github.com/commercialhaskell/stack/blob/release/doc/yaml_configuration.md

# Specifies the GHC version and set of packages available (e.g., lts-3.5, nightly-2015-09-21, ghc-7.10.2)
resolver: lts-3.22

# Local packages, usually specified by relative directory name
packages:
- '.'

# Packages to be pulled from upstream that are not in the resolver (e.g., acme-missiles-0.3)
extra-deps: []

# Override default flag values for local packages and extra-deps
flags: {}

# Extra package databases containing global packages
extra-package-dbs: []

# Control whether we use the GHC we find on the path
# system-ghc: true

# Require a specific version of stack, using version ranges
# require-stack-version: -any # Default
# require-stack-version: >= 1.0.0

# Override the architecture used by stack, especially useful on Windows
# arch: i386
# arch: x86_64

# Extra directories used by stack for building
# extra-include-dirs: [/path/to/dir]
# extra-lib-dirs: [/path/to/dir]

0 comments on commit 43848f5

Please sign in to comment.