Pipes factored out + EnvIO.FromToken + Applicative Zip #1392
louthy
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Pipes functionality that is based on the Haskell Pipes library has been factored out to its own library:
LanguageExt.Pipes
. This is so I can add more functionality to it (based on the supplementary libraries in the Haskell ecosystem). It also creates a clear demarcation: stating that it's not an 'essential'. I think this makes sense because Pipes is quite advanced and currently not the easiest thing to use for those new to FP in C#.I have also added-- as I was writing this, I realised there was a better way using the existingEnvIO.FromToken
, which allows you to construct anEnvIO
that subscribes to the token provided. This is useful if you need to useIO
within an existing async workflow, rather than at the edge.EnvIO.New
, so this has gone already!The various bespoke
zip
functions and extensions have now been generalised to work with any applicative. So zips all round!This discussion was created from the release Pipes factored out + EnvIO.FromToken + Applicative Zip.
Beta Was this translation helpful? Give feedback.
All reactions