summaryrefslogtreecommitdiff
blob: 84d3d0c778942365c3cfc5379262bfe98cc3368c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
	<maintainer type="project">
		<email>haskell@gentoo.org</email>
		<name>Gentoo Haskell</name>
	</maintainer>
	<longdescription>
		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.
		
		&gt; 1.0.3 -&gt; 1.0.4
		&gt;   - Bugfix to compile on GHC 6.12 again.
	</longdescription>
	<upstream>
		<remote-id type="github">sebastiaanvisser/fclabels</remote-id>
	</upstream>
</pkgmetadata>