
On 11 May 2010 03:25, adam vogt
On Tue, May 4, 2010 at 12:18 PM, HASHIMOTO, Yusaku
wrote: This library is inspired by HList[2], and interfaces are stealed from data-accessors[3]. And lenses[4], fclabels[5], and records[6] devote themselves to similar purposes.
[2]: http://hackage.haskell.org/package/HList [3]: http://hackage.haskell.org/package/data-accessor [4]: http://hackage.haskell.org/package/lenses [5]: http://hackage.haskell.org/package/fclabels [6]: http://hackage.haskell.org/package/records
Enjoy!
-nwn
Which niche does `has' fit between extensible (and more complicated) records like HList and records vs the libraries that provide only accessors?
You may find `has' useful when you want to use a label name in more than one record structures. This is achieved by HList, records and wreckage, But I think has at its interface.