cabal-version: 3.0 name: railroad version: 0.2.0.1 license: BSD-3-Clause license-file: LICENSE author: Frederik Kallstrup Mastratisi maintainer: mastratisi@proton.me category: Control, Error Handling build-type: Simple tested-with: GHC == 9.4.8, GHC == 9.6.7, GHC == 9.8.4, GHC == 9.10.3, GHC == 9.12.4, GHC == 9.14.1 extra-doc-files: CHANGELOG.md, readme.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.8, mtl >= 2.2 && < 2.4, validation (>= 1.1 && < 1.3) || (>= 1.3.1 && < 1.4) library import: stuff exposed-modules: Railroad Railroad.Bifurcate Railroad.Cardinality 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: Model RailroadSpec Railroad.BifurcateSpec Railroad.MonadErrorSpec build-tool-depends: hspec-discover:hspec-discover >= 2.11.14 && < 2.12 build-depends: base >=4.17 && < 4.23, hspec >= 2.11.14 && < 2.12, QuickCheck >= 2.14 && < 2.16, railroad