supply-next-0.0.1.1: supply-next.cabal
cabal-version: 3.0
name: supply-next
version: 0.0.1.1
category: Streaming
synopsis: Supply-chain interface for basic streaming
description:
@Next@ is a supply-chain interface for possibly-finite
enumeration. The @TerminableStream@ generalizes @Next@
so that more complex interfaces that incorporate
enumeration can use some of these utilities. We offer
type aliases @Producer@, @Pipe@, and @Consumer@ to
conveniently describe vendors and jobs that involve a
@Next@ interface.
license: Apache-2.0
license-file: license.txt
author: Chris Martin
maintainer: Chris Martin, Julie Moronuki
homepage: https://github.com/typeclasses/supply-next
bug-reports: https://github.com/typeclasses/supply-next/issues
extra-source-files: *.md
source-repository head
type: git
location: git://github.com/typeclasses/supply-next.git
common base
default-language: GHC2021
ghc-options: -Wall
default-extensions:
ApplicativeDo
BlockArguments
DerivingStrategies
FunctionalDependencies
LambdaCase
NoImplicitPrelude
TypeFamilies
build-depends:
, base ^>= 4.16 || ^>= 4.17
, gambler ^>= 0.0
, integer-types ^>= 0.0
, quaalude ^>= 0.0
, supply-chain ^>= 0.0
, transformers ^>= 0.5.6
library
import: base
hs-source-dirs: supply-next
exposed-modules:
Next
Next.Interface
Next.Interface.Type
Next.Interface.Class
Next.Producer
Next.Producer.Type
Next.Producer.Examples
Next.Producer.State
Next.Pipe
Next.Pipe.Examples
Next.Pipe.Type
Next.Consumer
Next.Consumer.Type
Next.Consumer.Examples
Next.Stream
Next.Stream.Type
test-suite test-supply-next
import: base
type: exitcode-stdio-1.0
hs-source-dirs: test-supply-next
main-is: Main.hs
build-depends:
, containers ^>= 0.6.5
, hspec ^>= 2.8.5 || ^>= 2.9 || ^>= 2.10
, supply-next