daml/libs-haskell/da-hs-base
Martin Huschenbett b01d327211
Haskell: Add hlint rule to suggest foldl' over foldl (#7897)
* Haskell: Add hlint rule to suggest foldl' over foldl

`foldl` is lazy in a way that almost never is what you want since it
can cause space leaks without any benefit. `foldl'` does not have this
problem. See https://www.well-typed.com/blog/2014/04/fixing-foldl/ for
more details.

CHANGELOG_BEGIN
CHANGELOG_END

* Fix all existing occurrences of foldl

CHANGELOG_BEGIN
CHANGELOG_END
2020-11-05 18:32:44 +00:00
..
src Haskell: Add hlint rule to suggest foldl' over foldl (#7897) 2020-11-05 18:32:44 +00:00
tests replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
BUILD.bazel replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
da-hs-base.cabal DEL-8132 extract DAML LF haskell libraries (scripted) (#7246) 2020-09-01 12:09:26 +10:00
LICENSE open-sourcing daml 2019-04-04 09:33:38 +01:00
README.md open-sourcing daml 2019-04-04 09:33:38 +01:00

Base library for DA Haskell code

The libraries provided by Hackage adapted to the needs of DA.

The intention of this version of this library published as part of Simon Meier's HaskellerZ talk on 2016-01-27 is that it serves as an inspirational source for how to adapt Hackage to a company's needs. DA currently does not plan to provide an officially supported version of this library. However, we very much encourage people to take and reshape this code into a library that allows to share this kind of Hackage-adaption-code.

Slides Video