BSD3 licensed by Thomas Jäger, Bertram Felgenhauer, James Cook et al.
Maintained by Mikhail Glushenkov

Module documentation for 1.0.9

pointful Build Status

Stand-alone command-line version of the pointful plugin for Lambdabot.

This tool transforms Haskell expressions from the implicit pointfree style to the explicit pointful style. This makes it easier to understand such expressions.

For example, consider the expression max 100 . uncurry max, which is in pointfree style. In pointful style, this becomes \ tuple -> max 100 ((uncurry max) tuple). With a little additional investigation around uncurry max, it can be determined that this expression takes a 2-tuple and returns the maximum of its elements and 100.

Installation

cabal install pointful

Usage

$ pointful "max 100 . uncurry max"
\ c -> max 100 ((uncurry max) c)

Credits

Pointful plugin code taken from Lambdabot. Originally written by Thomas Jäger (?).

Changes

pointful-1.0.11.0 (2018-03-20)

  • GHC 8.4.1 support.
Used by 2 packages:
comments powered byDisqus