thorn: Datatype Manipulation with Template Haskell

[ bsd3, data, generics, library ] [ Propose Tags ]

Thorn generates

  • functors from various kinds of datatypes, regardless of arity or variances.

  • folds and unfolds from various kinds of recursive datatypes, including mutually recursive ones.

A single function of Thorn will give you a lot. Just try it.


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 0.1,,,, 0.2 (info)
Dependencies base (>=4 && <5), bifunctors (<5), containers (<1), contravariant (<1), mtl (<3), profunctors (<5), random (>1), template-haskell (<3) [details]
License BSD-3-Clause
Copyright Copyright (C) 2013 Yusuke Matsushita
Author Yusuke Matsushita
Maintainer Yusuke Matsushita <>
Revised Revision 1 made by Kinokkory at 2014-10-30T08:06:27Z
Category Data, Generics
Home page
Bug tracker
Source repo head: git clone git://
Uploaded by Kinokkory at 2013-11-23T13:09:54Z
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 3235 total (15 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]