Popularity
8.6
Stable
Activity
0.0
Stable
58
5
8

Monthly Downloads: 33
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Development    
Latest version: v0.3.3

labels alternatives and similar packages

Based on the "Development" category.
Alternatively, view labels alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of labels or a related project?

Add another 'Development' Package

README

labels

Declare and access tuple fields with labels

$ git clone --recursive [email protected]:chrisdone/labels

The basic package

The labels package just provides labels and has very small source code and dependencies.

Some trivial examples provided by the labels package:

Get fields of a record

get #bar (#foo := "hi", #bar := 123) 123 Set fields of a record set #bar 66 (#foo := "hi", #bar := 123) (#foo := "hi",#bar := 66)

Note: You need GHC 8.0.1.

Integration with other packages

There are integration packages for getting labelled things out of common data parsers:

Data exploration package

I have put together a simple packge which brings together various packages around labels into one package: