ditto-0.5.0: ditto.cabal
cabal-version: 3.8
name: ditto
version: 0.5.0
synopsis: ditto is a type-safe HTML form generation and validation library
description:
ditto follows in the footsteps of formlets and
digestive-functors <= 0.2. It provides a
type-safe and composable method for generating
an HTML form that includes validation.
license: BSD-3-Clause
license-file: LICENSE
author: Zachary Churchill <zacharyachurchill@gmail.com>
maintainer: Zachary Churchill <zacharyachurchill@gmail.com>
copyright:
2012 Jeremy Shaw, Jasper Van der Jeugt, SeeReason Partners LLC,
2019 Zachary Churchill
homepage: https://github.com/goolord/ditto
bug-reports: https://github.com/goolord/ditto/issues
category: Web
build-type: Simple
extra-doc-files:
CHANGELOG.md
README.md
tested-with:
GHC == 9.6.7
GHC == 9.8.4
GHC == 9.10.3
GHC == 9.12.4
GHC == 9.14.1
source-repository head
type: git
location: https://github.com/goolord/ditto.git
common warnings
ghc-options: -Wall
if impl(ghc >= 8.10)
ghc-options:
-Wcompat
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wmissing-deriving-strategies
-Wunused-packages
if impl(ghc >= 9.4)
ghc-options: -Wredundant-constraints
common extensions
default-extensions:
BangPatterns
DataKinds
DeriveFoldable
DeriveFunctor
DeriveTraversable
DerivingStrategies
ExplicitForAll
FlexibleInstances
FunctionalDependencies
GeneralizedNewtypeDeriving
LambdaCase
MultiParamTypeClasses
NamedFieldPuns
OverloadedStrings
PatternSynonyms
RankNTypes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TypeApplications
TypeFamilies
TypeOperators
common defaults
import: warnings, extensions
if impl(ghc >= 9.10)
default-language: GHC2024
else
if impl(ghc >= 9.2)
default-language: GHC2021
else
default-language: Haskell2010
library
import: defaults
exposed-modules:
Ditto
Ditto.Core
Ditto.Types
Ditto.Backend
Ditto.Proof
Ditto.Generalized.Named
Ditto.Generalized.Unnamed
other-modules:
Ditto.Generalized.Internal
build-depends:
base >= 4.14 && < 5
, mtl >= 2.2 && < 3
, text >= 1.2 && < 3
hs-source-dirs: src
test-suite ditto-test
import: defaults
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
build-depends:
base
, ditto
, mtl
, text