flow 1.0.19 → 1.0.20
raw patch · 6 files changed
+33/−14 lines, 6 filesdep ~QuickCheckdep ~basedep ~template-haskellPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: QuickCheck, base, template-haskell
API changes (from Hackage documentation)
Files
- LICENSE.markdown +1/−1
- README.markdown +19/−0
- flow.cabal +7/−7
- library/Flow.hs +1/−1
- package.yaml +4/−4
- stack.yaml +1/−1
LICENSE.markdown view
@@ -1,6 +1,6 @@ MIT License -Copyright (c) 2018 Taylor Fausak+Copyright (c) 2020 Taylor Fausak Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal
README.markdown view
@@ -53,8 +53,27 @@ `f <! x` | `f $! x` `apply' x f` | `seq x (f x)` +### Converting existing code++If you want to uniformly use flow operators you can use [HLint] with the+`hlint-flow.yaml` file. For easy use, it is best to extract the +`hlint-flow.yaml` to your project directory and do++``` sh+> hlint -h hlint-flow.yaml <source file> +```++or++``` sh+> hlint --git -h hlint-flow.yaml+```++to check all Haskell source tracked by git.+ For more information about Flow, please read [the Haddock documentation][]. +[HLint]: https://github.com/ndmitchell/hlint [Flow]: http://taylor.fausak.me/flow/ [Version badge]: https://www.stackage.org/package/flow/badge/nightly?label=version [version]: https://www.stackage.org/package/flow
flow.cabal view
@@ -1,13 +1,13 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.31.0.+-- This file has been generated from package.yaml by hpack version 0.33.0. -- -- see: https://github.com/sol/hpack ----- hash: d97407fcb8be459dba94819e5d1b9a15e8f7f7ded3de595c03636aff7377fcae+-- hash: 32ef4e8dec5e74445885402c3cbe452e1285bbc57f20413635974fcf5419226d name: flow-version: 1.0.19+version: 1.0.20 synopsis: Write more understandable Haskell. description: Flow provides operators for writing more understandable Haskell. category: Combinators, Functions, Utility@@ -36,7 +36,7 @@ library ghc-options: -Weverything -Wno-implicit-prelude -Wno-safe -Wno-unsafe build-depends:- base >=4.9.0 && <4.14+ base >=4.9.0 && <4.15 default-language: Haskell2010 test-suite test@@ -48,9 +48,9 @@ tests ghc-options: -Weverything -Wno-implicit-prelude -Wno-safe -Wno-unsafe build-depends:- QuickCheck >=2.8.2 && <2.14- , base >=4.9.0 && <4.14+ QuickCheck >=2.8.2 && <2.15+ , base >=4.9.0 && <4.15 , doctest >=0.11.0 && <0.17 , flow- , template-haskell >=2.11.0 && <2.16+ , template-haskell >=2.11.0 && <2.17 default-language: Haskell2010
library/Flow.hs view
@@ -171,7 +171,7 @@ compose f g = \ x -> g (f x) -- | Left-associative 'apply'' operator. Read as "strict apply forward" or--- "strict pipe info". Use this to create long chains of computation that+-- "strict pipe into". Use this to create long chains of computation that -- suggest which direction things move in. -- -- >>> 3 !> succ !> recip !> negate
package.yaml view
@@ -1,5 +1,5 @@ name: flow-version: 1.0.19+version: 1.0.20 category: Combinators, Functions, Utility description: Flow provides operators for writing more understandable Haskell.@@ -15,7 +15,7 @@ synopsis: Write more understandable Haskell. dependencies:- base: '>= 4.9.0 && < 4.14'+ base: '>= 4.9.0 && < 4.15' ghc-options: -Weverything -Wno-implicit-prelude@@ -30,7 +30,7 @@ dependencies: doctest: '>= 0.11.0 && < 0.17' flow: -any- QuickCheck: '>= 2.8.2 && < 2.14'- template-haskell: '>= 2.11.0 && < 2.16'+ QuickCheck: '>= 2.8.2 && < 2.15'+ template-haskell: '>= 2.11.0 && < 2.17' main: Main.hs source-dirs: tests
stack.yaml view
@@ -1,1 +1,1 @@-resolver: lts-13.0+resolver: lts-15.4