slot-lambda: Write lambdas without naming the parameters.
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]
Downloads
- slot-lambda-0.1.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
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:49:48Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 2954 total (0 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] |