cabal-version: 3.0
name: supply-chain-core
version: 0.0.0.0
category: Monads, Streaming
synopsis: Composable request-response pipelines
description:
This package defines the @Job@ and @Vendor@ types that are the
focus of the @supply-chain@ package. The core package is provided
for the sake of exposing all of the internal detail. More likely
you want to use @supply-chain@ instead, which aims to be
friendlier and subject to fewer breaking releases.
author: Chris Martin
maintainer: Chris Martin, Julie Moronuki
homepage: https://github.com/typeclasses/supply-chain-core
bug-reports: https://github.com/typeclasses/supply-chain-core/issues
license: Apache-2.0
license-file: license.txt
extra-doc-files: readme.md changelog.md
common base
default-language: GHC2021
ghc-options: -Wall
default-extensions:
LambdaCase
NoImplicitPrelude
PatternSynonyms
TypeFamilies
ViewPatterns
build-depends:
base ^>= 4.16 || ^>= 4.17
library
import: base
hs-source-dirs: supply-chain-core
exposed-modules:
SupplyChain.Core.Connect
SupplyChain.Core.Effect
SupplyChain.Core.FreeMonad
SupplyChain.Core.FreePointedFunctor
SupplyChain.Core.Job
SupplyChain.Core.JobAndVendor
SupplyChain.Core.Referral
SupplyChain.Core.Unit
SupplyChain.Core.Vendor
SupplyChain.Core.VendorAndReferral
test-suite test-supply-chain-core
import: base
type: exitcode-stdio-1.0
hs-source-dirs: test-supply-chain-core
main-is: Main.hs
build-depends:
supply-chain-core
, tasty ^>= 1.3 || ^>= 1.4
, tasty-hedgehog ^>= 1.3 || ^>= 1.4
, tasty-hunit ^>= 0.10