transaction 0.1.1.0 → 0.1.1.1
raw patch · 2 files changed
+14/−1 lines, 2 files
Files
- src/Data/Transaction.hs +13/−0
- transaction.cabal +1/−1
src/Data/Transaction.hs view
@@ -320,6 +320,7 @@ - Converters - ============== -} {- | An alias of 'first' for convenience.+ >>> :{ toList $ do action 4@@ -338,6 +339,7 @@ #-} {- | An alias of 'filter'.+ >>> :{ toList $ do action 4@@ -347,6 +349,17 @@ action 7 :} [4,6,7]++>>> :{+toList $ do+ action 4+ filter even $ do+ action 5+ action 6+ action 7+:}+[4,6,7]+ -} tFilter :: (a -> Bool) -> Transaction a -> Transaction a tFilter = filter
transaction.cabal view
@@ -1,5 +1,5 @@ name: transaction-version: 0.1.1.0+version: 0.1.1.1 synopsis: Monadic representation of transactions. description: Monadic representation of transactions. Alike `List`, but can be declared with `do` notations.