Popularity
4.2
Growing
Activity
0.0
Declining
10
2
0
Monthly Downloads: 1
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
tangle alternatives and similar packages
Based on the "Monads" category.
Alternatively, view tangle alternatives based on common mentions on social networks and blogs.
-
colorful-monoids
colorful-monoids: Styled console text output using ANSI escape sequences -
safer-file-handles-text
Extends safer-file-handles with Text operations -
safer-file-handles-bytestring
Extends safer-file-handles with ByteString operations
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Promo
www.sonarqube.org
Do you think we are missing an alternative of tangle or a related project?
README
tangle
This package implements an abstraction of record construction where each field may depend on other fields.
evalTangleT :: TangleT t m a -- ^ computation
-> t (TangleT t m) -- ^ collection of tangles
-> t Maybe -- ^ initial fields (usually all Nothing)
-> m a
hitch
:: Monad m
=> (forall h. Lens' (t h) (h a)) -- ^ the lens of the field
-> TangleT t m a
A computation tangle is a higher-kinded record of Tangle t m
. Each field can fetch other fields by using hitch
; the result is memoised so the computation is performed only once for each field. Recursive hitch
is not supported.
See examples/weight.hs
for an example.