pointless-fun 1.1.0.6 → 1.1.0.8
raw patch · 5 files changed
+65/−66 lines, 5 filesdep ~basenew-uploaderPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: base
API changes (from Hackage documentation)
+ Data.Function.Pointless: infix 9 .^
+ Data.Function.Pointless: infixl 1 $::
+ Data.Function.Pointless: infixl 8 .:
+ Data.Function.Pointless: infixr 2 !~>
+ Data.Function.Pointless: infixr 9 .!
- Data.Function.Pointless: (!~>) :: (a -> b) -> (c -> d) -> ((b -> c) -> (a -> d))
+ Data.Function.Pointless: (!~>) :: (a -> b) -> (c -> d) -> (b -> c) -> a -> d
- Data.Function.Pointless: ($::) :: (a -> b) -> ((a -> b) -> (c -> d)) -> (c -> d)
+ Data.Function.Pointless: ($::) :: (a -> b) -> ((a -> b) -> c -> d) -> c -> d
- Data.Function.Pointless: (.:) :: (c -> d) -> (a -> b -> c) -> (a -> b -> d)
+ Data.Function.Pointless: (.:) :: (c -> d) -> (a -> b -> c) -> a -> b -> d
- Data.Function.Pointless: (.^) :: (a -> c -> d) -> (b -> c) -> (a -> b -> d)
+ Data.Function.Pointless: (.^) :: (a -> c -> d) -> (b -> c) -> a -> b -> d
- Data.Function.Pointless: (~>) :: (a -> b) -> (c -> d) -> ((b -> c) -> (a -> d))
+ Data.Function.Pointless: (~>) :: (a -> b) -> (c -> d) -> (b -> c) -> a -> d
Files
- CHANGELOG +3/−0
- README +0/−33
- README.md +31/−0
- pointless-fun.cabal +25/−27
- src/Data/Function/Pointless.hs +6/−6
CHANGELOG view
@@ -1,3 +1,6 @@+1.1.0.8 (2021-10-17):+ - Updating emails/urls+ - Started GithubActions for CI 1.1.0.6 (2015-05-30): - Moved VERSION to CHANGELOG 1.1.0.1 (2012-01-28):
− README
@@ -1,33 +0,0 @@-pointless-fun-=============--This is a simple package and should be easy to install. You should-be able to use one of the following standard methods to install it.-- -- With cabal-install and without the source:- $> cabal install pointless-fun- - -- With cabal-install and with the source already:- $> cd pointless-fun- $> cabal install- - -- Without cabal-install, but with the source already:- $> cd pointless-fun- $> runhaskell Setup.hs configure --user- $> runhaskell Setup.hs build- $> runhaskell Setup.hs test- $> runhaskell Setup.hs haddock --hyperlink-source- $> runhaskell Setup.hs copy- $> runhaskell Setup.hs register--The test step is optional and currently does nothing. The Haddock-step is also optional.---Portability-===========--An attempt has been made to keep this library as portable as possible.-It is fully Haskell98 compliant.------------------------------------------------------------- fin.
+ README.md view
@@ -0,0 +1,31 @@+pointless-fun+=============+[](https://hackage.haskell.org/package/pointless-fun) +[](https://github.com/wrengr/pointless-fun/actions?query=workflow%3Aci)+[](http://packdeps.haskellers.com/specific?package=pointless-fun)++Some common point-free combinators. Including strict composition,+and type-signature-like combinators for coercing inputs and outputs+of functions.+++## Install++This is a simple package and should be easy to install. You should+be able to use the standard:++ $> cabal install pointless-fun+ ++## Portability++This library is fully Haskell98 compliant.+++## Links++* [Website](http://wrengr.org/)+* [Blog](http://winterkoninkje.dreamwidth.org/)+* [Twitter](https://twitter.com/wrengr)+* [Hackage](http://hackage.haskell.org/package/pointless-fun)+* [GitHub](https://github.com/wrengr/pointless-fun)
pointless-fun.cabal view
@@ -1,19 +1,19 @@ ------------------------------------------------------------------- wren gayle romano <wren@community.haskell.org> ~ 2015.05.30+-- wren gayle romano <wren@cpan.org> ~ 2021.10.17 ---------------------------------------------------------------- --- By and large Cabal >=1.2 is fine; but >= 1.6 gives tested-with:--- and source-repository:.-Cabal-Version: >= 1.6+-- Cabal >=1.10 is required by Hackage.+Cabal-Version: >= 1.10 Build-Type: Simple Name: pointless-fun-Version: 1.1.0.6+Version: 1.1.0.8 Stability: provisional-Homepage: http://code.haskell.org/~wren/+Homepage: https://wrengr.org/software/hackage.html+Bug-Reports: https://github.com/wrengr/pointless-fun/issues Author: wren gayle romano, Matt Hellige-Maintainer: wren@community.haskell.org-Copyright: Copyright (c) 2009--2015 wren gayle romano+Maintainer: wren@cpan.org+Copyright: Copyright (c) 2009–2021 wren gayle romano License: BSD3 License-File: LICENSE @@ -21,33 +21,31 @@ Synopsis: Some common point-free combinators. Description: Some common point-free combinators. -Tested-With:- GHC ==6.12.1, GHC ==6.12.3, GHC ==7.6.1, GHC ==7.8.0 Extra-source-files:- README, CHANGELOG-Source-Repository head- Type: darcs- Location: http://community.haskell.org/~wren/pointless-fun+ README.md, CHANGELOG ------------------------------------------------------------------Flag base4- Default: True- Description: base-4.0 emits "Prelude deprecated" messages in- order to get people to be explicit about which- version of base they use.+-- This should work as far back as GHC 6.12.1, but we don't verify that by CI.+-- <https://github.com/wrengr/pointless-fun/actions?query=workflow%3Aci>+Tested-With:+ GHC ==8.0.2,+ GHC ==8.2.2,+ GHC ==8.4.4,+ GHC ==8.6.5,+ GHC ==8.8.4,+ GHC ==8.10.3,+ GHC ==9.0.1 --- TODO: add flags for compiling against haskell98 or haskell2010--- instead of base?+----------------------------------------------------------------+Source-Repository head+ Type: git+ Location: https://github.com/wrengr/pointless-fun.git ---------------------------------------------------------------- Library+ Default-Language: Haskell98 Hs-Source-Dirs: src Exposed-Modules: Data.Function.Pointless- - if flag(base4)- Build-Depends: base >= 4 && < 5- else- Build-Depends: base < 4+ Build-Depends: base >= 4 && < 5 ---------------------------------------------------------------- ----------------------------------------------------------- fin.
src/Data/Function/Pointless.hs view
@@ -1,11 +1,11 @@ {-# OPTIONS_GHC -Wall -fwarn-tabs #-} ------------------------------------------------------------------- 2012.01.29+-- 2021.10.17 -- | -- Module : Data.Function.Pointless--- Copyright : Copyright (c) 2009--2015 wren gayle romano+-- Copyright : Copyright (c) 2009--2021 wren gayle romano -- License : BSD--- Maintainer : wren@community.haskell.org+-- Maintainer : wren@cpan.org -- Stability : provisional -- Portability : Haskell98 --@@ -24,14 +24,14 @@ -- > albert :: X -> A -- > beth :: Y -> B -- > carol :: C -> Z- -- > + -- > -- > bar :: X -> Y -> Z -- > bar = foo $:: albert ~> beth ~> carol ($::), (~>), (!~>)- + -- * Composition for arity 2 , (.:), (.^)- + -- * Strict composition , (.!) ) where