slot-lambda: Write lambdas without naming the parameters. --\_ + _ = \x y -> x+y

[ language, library, mit ] [ Propose Tags ]

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.


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3
Dependencies base (>=4.6 && <5), containers (>=0.5.0.0), haskell-src-exts (>=1.14.0.1), haskell-src-meta (>=0.6.0.5), syb (>=0.4.1), template-haskell (>=2.8), vector (>=0.10.9.1) [details]
License MIT
Author ducis
Maintainer ducis_cn@126.com
Category Language
Uploaded by ducis at 2014-04-07T14:45:00Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2871 total (13 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]

Readme for slot-lambda-0.1.0.0

[back to package description]

pa_slot

Write lambdas without naming the parameters.

[s| ı : ı : _ı : ı : _ı : _ı : _0 : [] |] 'a' 'b' 'c' = "abbccca"