witherable
lens
witherable | lens | |
---|---|---|
4 | 4 | |
71 | 1,986 | |
- | - | |
6.4 | 7.0 | |
6 months ago | 9 days ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | BSD 2-clause "Simplified" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
witherable
-
CS SYD - A dancing space leak
Generic operations: mapMaybe and the witherable package are two good examples.
-
Version 0.6 of Flat, a principled, portable and compact binary data format
Yes or if you have instances of the polynomial functors, you can create a trivial instance like https://github.com/fumieval/witherable/issues/89
-
A functor is a container that implements map. Is there a special name for containers that implement filter or reduce?
I think filter would correspond to the Filterable class from witherable.
-
Name of operation
I'm not sure about the parts of the above implementation like takeOne though. I've used this takeOne few times. Also, traverse combined with catMaybes is a pattern captured in witherable package. Like this:
lens
-
Haskell Lens Tutorial by Exercises
They are in fact well structured and not random at all. Take a look at this:
https://github.com/ekmett/lens/wiki/Operators
- -- /It puts the state in the monad or it gets the hose again./
-
How to learn OOP?
A composition of functional operations over Kmett style lenses. Here's the original Haskell implementation, here's usage in JS via Ramda
-
Dhall: A Gateway Drug to Haskell
The documentation of lenses is geared towards people know what lenses are. Of course this single fragment of documentation doesn't make sense if you don't know what lenses are. If you want to understand what lenses are the package links to a helpful wiki and tutorial: https://github.com/ekmett/lens/wiki/Overview
All within reach within seconds of discovering the function.
What are some alternatives?
proto-lens - API for protocol buffers using modern Haskell language and library patterns.
proxy - proxy 'helpers'
rcu - experimenting with STM-backed read-copy-update in Haskell
proxy - This repository contains the WhatsApp proxy implementation for users to host their own proxy infrastructure to connect to WhatsApp for chat (VoIP is not currently supported)
boombox - Seekable sources and efficient incremental sinks
algebraic-classes - Conversions between algebraic classes and F-algebras.
discrimination - Fast linear time sorting and discrimination for a large class of data types
RFC1751 - RFC-1751 library for Haskell
data-kiln - Sculpt mutable recursive data with reference equality; bake it using a data kiln into an immutable lazy structure
hexml-lens - Lenses for working with XML data
make-monofoldable-foldable - A simple package with a wrapper to make a MonoFoldable type Foldable
double-metaphone