* Use cabal build for 8.8.4 to avoid stack extra-deps
* Use latest stack nightly for 8.10.4
* Remove cabal.project/stack.yaml from the distribution
* Use cabal.project for using test+bench with sdist
* Move sdist build without cabal.project file to circle-ci
* Avoid stack.yaml relinking
Instead of using a closed loop we can stop an unfold and then resume it
later. This allows us to break the loop and restart it at some other
point. For example, we can parse a block from an input stream from a
file handle or a socket and then return the socket/handle plus nay
buffered data (due to backtracking) so that we can resume reading from
it later on after doing some processing.
With all the extensions used in streamly, optimization options and
ddump-simpl options.
This is useful for compiling standalone files, when inspecting core for
perf issues. I wish cabal could invoke ghc with environment from the
cabal file. Can it?
There is no functional change in this commit, only refactoring.
* Update module documentation for arrays
* Rearrange and re-group related functions together
* Ability to use fold/unfold/foldMany/chunksOf in low level array
modules so that we are able to express some of the functions more
idiomatically. We have not done that in this change but with this
change we should be able to do it later.
* Separate out the array stream code from lower level modules to the
higher level array stream module.
This commit has no functionality changes whatsoever. It is a pure
reorganization of existing code. Not a single line in any function
should have changed.
* Push down all functions from IsStream.hs to a common module below
* Each submodule is now complete in itself i.e. exports all functions
that belong to that module.
* A few functions had to be moved around to classify them in the right
modules. Each submodule has a crisp definition.
* Further break down "Transform" module to create Nesting/Lift modules
under IsStream
* Create "Lift" module under StreamD as well, both IsStream and StreamD
have the same structure now.
* Rearrange exports to properly organize them in clearly defined
categories.
* Rearrange functions to reflect the export order or to bring them close
to other similar functions.
- Add StreamD.Common module for functions that should technically
be in one of the StreamD's sub modules, but can't be because we have
to use it in other sub modules