packages feed

pointful 1.0.9 → 1.0.11.0

raw patch · 3 files changed

+51/−9 lines, 3 filesdep ~basedep ~containersdep ~haskell-src-exts-simplePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, containers, haskell-src-exts-simple, mtl, syb, transformers

API changes (from Hackage documentation)

Files

+ CHANGELOG.md view
@@ -0,0 +1,2 @@+# pointful-1.0.11.0 (2018-03-20)+* GHC 8.4.1 support.
+ README.md view
@@ -0,0 +1,24 @@+# pointful [![Build Status](https://secure.travis-ci.org/23Skidoo/pointful.png?branch=master)](http://travis-ci.org/23Skidoo/pointful)++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 (?).
pointful.cabal view
@@ -1,5 +1,5 @@ name:                pointful-version:             1.0.9+version:             1.0.11.0  synopsis:            Pointful refactoring tool @@ -13,20 +13,36 @@ maintainer:          Mikhail Glushenkov <mikhail.glushenkov@gmail.com> homepage:            http://github.com/23Skidoo/pointful build-type:          Simple-cabal-version:       >= 1.8+cabal-version:       2.0+extra-source-files:  README.md+                     CHANGELOG.md+tested-with:         GHC == 7.8.4, GHC == 7.10.3,+                     GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.1 +Source-repository head+  type:     git+  location: https://github.com/23Skidoo/pointful.git++Source-repository this+  type:     git+  location: https://github.com/23Skidoo/pointful.git+  tag:      pointful-1.0.11.0+ Library+    default-language:    Haskell2010     exposed-modules:     Lambdabot.Pointful     other-modules:       Lambdabot.Parser-    build-depends:       base >= 4.4 && < 5,-                         containers >= 0.4,-                         haskell-src-exts-simple >= 1.18.0 && < 1.19,-                         mtl >= 2,-                         syb >= 0.3,-                         transformers >= 0.2+    build-depends:+        base                    >= 4.7  && < 4.11 || ^>= 4.11,+        containers              >= 0.4  && < 0.5  || ^>= 0.5,+        haskell-src-exts-simple >= 1.18 && < 1.20 || ^>= 1.20,+        mtl                     >= 2    && < 2.2  || ^>= 2.2,+        syb                     >= 0.3  && < 0.7  || ^>= 0.7,+        transformers            >= 0.2  && < 0.5  || ^>= 0.5  Executable               pointful+    default-language:    Haskell2010     hs-source-dirs:      main     main-is:             Pointful.hs     build-depends:       base >= 4.4 && < 5,-                         pointful == 1.0.9+                         pointful