all options
buster  ] [  bullseye  ] [  bookworm  ] [  sid  ]
[ Source: haskell-fclabels  ]

Package: libghc-fclabels-dev (2.0.5.1-1 and others)

Links for libghc-fclabels-dev

Screenshot

Debian Resources:

Download Source Package haskell-fclabels:

Maintainers:

External Resources:

Similar packages:

first-class accessor labels

This package provides first class labels that can act as bidirectional record fields. The labels can be derived automatically using Template Haskell which means you don't have to write any boilerplate yourself. The labels are implemented as lenses and are fully composable. Labels can be used to /get/, /set/ and /modify/ parts of a datatype in a consistent way.

See "Data.Label" for an introductory explanation.

Internally lenses are not tied to Haskell functions directly, but are implemented as arrows. Arrows allow the lenses to be run in custom computational contexts. This approach allows us to make partial lenses that point to fields of multi-constructor datatypes in an elegant way.

See the "Data.Label.Maybe" module for the use of partial labels.

> 1.1.1.0 -> 1.1.2 > - Added partial set/modify versions that act as identity > when the constructor field is not available.

 Author: Sebastiaan Visser, Erik Hesselink, Chris Eidhof, Sjoerd Visscher
with lots of help and feedback from others.
 Upstream-Maintainer: Sebastiaan Visser <[email protected]>

This package contains the normal library files.

Other Packages Related to libghc-fclabels-dev

  • depends
  • recommends
  • suggests
  • enhances

Download libghc-fclabels-dev

Download for all available architectures
Architecture Version Package Size Installed Size Files
amd64 2.0.5.1-1 b4 155.9 kB1,387.0 kB [list of files]
arm64 2.0.5.1-1 b3 205.0 kB2,131.0 kB [list of files]
armel 2.0.5.1-1 b4 185.7 kB1,699.0 kB [list of files]
armhf 2.0.5.1-1 b3 181.4 kB1,672.0 kB [list of files]
i386 2.0.5.1-1 b3 270.2 kB2,009.0 kB [list of files]
mips64el 2.0.5.1-1 b2 218.7 kB2,733.0 kB [list of files]
mipsel 2.0.5.1-1 b4 204.3 kB2,097.0 kB [list of files]
ppc64el 2.0.5.1-1 b4 214.9 kB2,443.0 kB [list of files]
s390x 2.0.5.1-1 b2 250.2 kB2,569.0 kB [list of files]