wszystkie opcje
buster  ] [  bullseye  ] [  bookworm  ] [  sid  ]
[ Pakiet źródłowy: haskell-fclabels  ]

Pakiet: libghc-fclabels-dev (2.0.5-1 i inne)

Odnośniki dla libghc-fclabels-dev

Screenshot

Zasoby systemu Debian:

Pobieranie pakietu źródłowego haskell-fclabels:

Opiekunowie:

Zasoby zewnętrzne:

Podobne pakiety:

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 <code@fvisser.nl>

This package contains the normal library files.

Inne pakiety związane z libghc-fclabels-dev

  • wymaga
  • poleca
  • sugeruje
  • enhances

Pobieranie libghc-fclabels-dev

Pobierz dla wszystkich dostępnych architektur
Architektura Wersja Rozmiar pakietu Rozmiar po instalacji Pliki
amd64 2.0.5-1+b1 144,5 KiB1 358,0 KiB [lista plików]
arm64 2.0.5-1+b1 164,6 KiB1 694,0 KiB [lista plików]
armel 2.0.5-1+b1 162,4 KiB1 414,0 KiB [lista plików]
armhf 2.0.5-1+b1 162,2 KiB1 394,0 KiB [lista plików]
i386 2.0.5-1+b1 148,1 KiB1 137,0 KiB [lista plików]
mips64el 2.0.5-1+b1 201,8 KiB2 532,0 KiB [lista plików]
mipsel 2.0.5-1+b1 191,6 KiB1 918,0 KiB [lista plików]
ppc64el 2.0.5-1+b1 204,2 KiB2 330,0 KiB [lista plików]
s390x 2.0.5-1+b2 222,1 KiB2 346,0 KiB [lista plików]