web-rep-0.10.2.0: web-rep.cabal
cabal-version: 3.0
name: web-rep
version: 0.10.2.0
synopsis: representations of a web page
category: web
description:
An applicative-based, shared-data representation of a web page.
bug-reports: https://github.com/tonyday567/web-page/issues
maintainer: Tony Day <tonyday567@gmail.com>
license: MIT
license-file: LICENSE.md
build-type: Simple
extra-doc-files: ChangeLog.md
tested-with: GHC == 8.10.7 || ==9.2.8 || ==9.4.5 || ==9.6.2
source-repository head
type: git
location: https://github.com/tonyday567/web-rep
common ghc2021-stanza
if impl(ghc >=9.2)
default-language:
GHC2021
if impl(ghc <9.2)
default-language:
Haskell2010
default-extensions:
BangPatterns
BinaryLiterals
ConstrainedClassMethods
ConstraintKinds
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveLift
DeriveTraversable
DoAndIfThenElse
EmptyCase
EmptyDataDecls
EmptyDataDeriving
ExistentialQuantification
ExplicitForAll
FlexibleContexts
FlexibleInstances
ForeignFunctionInterface
GADTSyntax
GeneralisedNewtypeDeriving
HexFloatLiterals
ImplicitPrelude
InstanceSigs
KindSignatures
MonomorphismRestriction
MultiParamTypeClasses
NamedFieldPuns
NamedWildCards
NumericUnderscores
PatternGuards
PolyKinds
PostfixOperators
RankNTypes
RelaxedPolyRec
ScopedTypeVariables
StandaloneDeriving
StarIsType
TraditionalRecordSyntax
TupleSections
TypeApplications
TypeOperators
TypeSynonymInstances
if impl(ghc <9.2) && impl(ghc >=8.10)
default-extensions:
ImportQualifiedPost
StandaloneKindSignatures
common ghc-options-stanza
ghc-options:
-Wall
-Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
-Widentities
-Wpartial-fields
library
import: ghc2021-stanza
import: ghc-options-stanza
exposed-modules:
Web.Rep
Web.Rep.Bootstrap
Web.Rep.Examples
Web.Rep.Html
Web.Rep.Html.Input
Web.Rep.Page
Web.Rep.Render
Web.Rep.Server
Web.Rep.Shared
Web.Rep.SharedReps
Web.Rep.Socket
hs-source-dirs: src
build-depends:
, attoparsec ^>=0.14
, base >=4.12 && <5
, bifunctors >=5.5.11 && <5.7
, box >=0.9 && < 0.10
, box-socket ^>=0.4
, clay >=0.13 && <0.15
, interpolatedstring-perl6 ^>=1.0
, language-javascript >=0.6.0 && <0.8
, lucid >=2.9 && <2.12
, mtl >=2.2.2 && <2.4
, optics-core ^>=0.4
, optics-extra ^>=0.4
, profunctors ^>=5.6.2
, scotty >=0.11.5 && <0.13
, text >=1.2.3 && <2.1
, transformers >=0.5.6 && <0.6.2
, unordered-containers ^>=0.2.10
, wai-middleware-static ^>=0.9
, wai-websockets ^>=3.0.1.2
, websockets ^>=0.12
, async ^>=2.2.4
executable web-rep-example
import: ghc2021-stanza
import: ghc-options-stanza
main-is: rep-example.hs
hs-source-dirs: app
build-depends:
, base >=4.12 && <5
, optparse-applicative >=0.17 && <0.19
, web-rep
, box >=0.9 && < 0.10
, text >=1.2.3 && <2.1
, lucid >=2.9 && <2.12
, optics-core ^>=0.4
ghc-options:
-funbox-strict-fields -fforce-recomp -threaded -rtsopts
-with-rtsopts=-N