laika-0.1.3: laika.cabal
name:
laika
version:
0.1.3
synopsis:
Minimalistic type-checked compile-time template engine
description:
The library integrates flawlessly with Haskell's new
<http://hackage.haskell.org/package/record first-class records>.
.
It inherits a remarkable quality from the dogs:
unlike most other template engines
at compile time it barks at you whenever you do anything wrong in your templates.
Hence the title (from Russian "lai" means "bark").
Also it commemorates Laika, the hero dog,
which became the first animal to orbit Earth and died in space.
.
_This library is in experimental state._
_Detailed documentation will arrive with the first stable release._
stability:
experimental
category:
homepage:
https://github.com/nikita-volkov/laika
bug-reports:
https://github.com/nikita-volkov/laika/issues
author:
Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer:
Nikita Volkov <nikita.y.volkov@mail.ru>
copyright:
(c) 2015, Nikita Volkov
license:
MIT
license-file:
LICENSE
build-type:
Simple
cabal-version:
>=1.10
extra-source-files:
demo/template.html.laika
source-repository head
type:
git
location:
git://github.com/nikita-volkov/laika.git
flag demo
description: Build Demo
default: False
library
hs-source-dirs:
library
ghc-options:
-funbox-strict-fields
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
other-modules:
Laika.Prelude
Laika.Lexer
Laika.Parser
exposed-modules:
Laika
build-depends:
--
template-haskell,
--
system-filepath == 0.4.*,
system-fileio == 0.3.*,
--
attoparsec >= 0.10 && < 0.13,
--
text >= 1 && < 1.3,
--
either >= 4.3 && < 4.4,
transformers >= 0.3 && < 0.5,
--
record >= 0.3 && < 0.4,
base-prelude >= 0.1 && < 0.2
executable demo
hs-source-dirs:
demo
main-is:
Main.hs
ghc-options:
-O2
-threaded
"-with-rtsopts=-N"
-funbox-strict-fields
-ddump-splices
default-extensions:
Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples
default-language:
Haskell2010
if !flag(demo)
buildable: False
else
build-depends:
laika,
text,
record,
base-prelude