pointless-haskell: Pointless Haskell library

[ bsd3, generics, library ] [ Propose Tags ]

Pointless Haskell is library for point-free programming with recursion patterns defined as hylomorphisms, inspired in ideas from the PolyP library. Generic recursion patterns can be expressed for recursive types and no support for mutually recursive types or nested data types is provided. The library also features the visualization of the intermediate data structure of hylomorphisms with GHood (http://hackage.haskell.org/cgi-bin/hackage-scripts/package/GHood).


[Skip to Readme]

Flags

Automatic Flags
NameDescriptionDefault
splitbase

Choose the new smaller, split-up base package.

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9
Dependencies base (>=3 && <5), GHood, process, syb (>=0.1.0.2) [details]
License BSD-3-Clause
Author Alcino Cunha <alcino@di.uminho.pt>, Hugo Pacheco <hpacheco@di.uminho.pt>
Maintainer Hugo Pacheco <hpacheco@di.uminho.pt>
Category Generics
Home page http://haskell.di.uminho.pt/wiki/Pointless+Haskell
Uploaded by HugoPacheco at 2014-05-19T01:13:54Z
Distributions
Reverse Dependencies 8 direct, 0 indirect [details]
Downloads 6790 total (19 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed [all 1 reports]

Readme for pointless-haskell-0.0.9

[back to package description]
Pointless Haskell

This cabal package can be installed with:

$ cabal install pointless-haskell

For a manual install, execute:

$ runhaskell Setup.lhs configure
$ runhaskell Setup.lhs build
$ runhaskell Setup.lhs install

You can now start playing with the example code that comes with the library, under Language.Pointless.Examples.
The easiest way is to create a new module that imports some library modules

module Test where

import Generics.Pointless.Examples.Examples
import Generics.Pointless.Examples.Observe

and interpret it

$ ghci Test.hs
> factHylo 5
120
> runO $ print $ factHyloO 5
120
...