packages feed

slot-lambda 0.1.0.1 → 0.1.0.2

raw patch · 1 files changed

+13/−6 lines, 1 files

Files

slot-lambda.cabal view
@@ -1,13 +1,20 @@ name:                slot-lambda-version:             0.1.0.1+version:             0.1.0.2 synopsis:            Write lambdas without naming the parameters.-description:         Write lambdas without naming the parameters. -                     e.g. [s| ı : ı : _ı : ı : _ı : _ı : _0 : [] |] 'a' 'b' 'c' -							=    \x y z -> x:y:y:z:z:z:x:[]-							=    "abbccca"-							Just `import Syntax.Slot` and use either [s| ... |] or [slot| ... |], which are the same thing given two names just for convenience.+description:         Write lambdas without naming the parameters. Example:   +                     .+                     @   +                        [s| ı : ı : _ı : ı : _ı : _ı : _0 : [] |] \'a\' \'b\' \'c\'+                     =  (\\x y z -> x:y:y:z:z:z:x:[]) \'a\' \'b\' \'c\'+                     =  \"abbccca\"+                     @+                     .+                     The unicode character @ı@(305) representing a \'slot\' can be input in vim with the digraph \'i.\' +                     .+                     Just @import Syntax.Slot@ and use either @[s| ... |]@ or @[slot| ... |]@, which are the same thing given two names just for convenience. license:             MIT license-file:        LICENSE+homepage:            https://github.com/ducis/pa_slot author:              ducis maintainer:          ducis_cn@126.com -- copyright: