Skip to content

DM-13 Remove foldl package dependency

  • Remove the type Fold1 from the signature of fold1. Instead fold1 may now be used with Control.Foldl.NonEmpty.purely
  • Move sconcat, groupByPure, groupSemigroupBy and groupSemigroupByPure to the test module. Only sconcat is currently used. In user code it can be replaced by: L1.purely NES.fold1 L1.sconcat
  • Add fold1_ similar to Streaming.Prelude.fold_
  • I have also added pipeline tests. They are the same as https://gitlab.com/global-access-public/foldl1/-/blob/dba886518ca0ae32bcc6f6ab13000018e7b0d0f8/.gitlab-ci.yml except that I also added the --lock-file error-on-write flag.
Edited by Tobias Haslop

Merge request reports

Loading