railroad-0.1.1.2: railroad.cabal
cabal-version: 3.0
name: railroad
version: 0.1.1.2
license: BSD-3-Clause
license-file: LICENSE
author: Frederik Kallstrup Mastratisi
maintainer: mastratisi@proton.me
category: Control, Error Handling
build-type: Simple
extra-doc-files: CHANGELOG.md
synopsis: A railway oriented mini-DSL for unified error handling.
description:
A railway oriented mini-DSL for handling and interpreting error states
and cardinality checks across diverse failure types in a unified way.
homepage: https://github.com/mastratisi/railroad
bug-reports: https://github.com/mastratisi/railroad/issues
source-repository head
type: git
location: https://github.com/mastratisi/railroad
common stuff
ghc-options: -Wall
build-depends:
base >=4.17 && < 4.23,
effectful >= 2.5 && < 2.7,
mtl >= 2.2 && < 2.4,
validation >= 1.1 && < 1.2
library
import: stuff
exposed-modules: Railroad
Railroad.MonadError
hs-source-dirs: src
default-language: GHC2021
test-suite railroad-test
import: stuff
default-language: GHC2021
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules: RailroadSpec
Railroad.MonadErrorSpec
build-depends:
base >=4.17 && < 4.23,
hspec >= 2.11.14 && < 2.12,
railroad