Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> haskell >> libghc-fclabels-prof
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: haskell-fclabels  ]

套件: libghc-fclabels-prof (2.0.5-1build2)

first-class accessor labels; profiling libraries

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 libraries compiled with profiling enabled.

其他與 libghc-fclabels-prof 有關的套件

  • 依賴
  • 推薦
  • 建議

下載 libghc-fclabels-prof

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
amd64 132.2 kB1327 kB [文件列表]
arm64 146.4 kB1461 kB [文件列表]
armhf 146.4 kB1102 kB [文件列表]
ppc64el 169.1 kB2178 kB [文件列表]