The latest version of slot-lambda is 0.1.0.3-0.
slot-lambda
Version 0.1.0.2 revision 0 uploaded by ducis.
Package meta
- Synopsis
- Write lambdas without naming the parameters.
- 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.- Author
- ducis
- Bug reports
- n/a
- Category
- Language
- Copyright
- n/a
- Homepage
- https://github.com/ducis/pa_slot
- Maintainer
- ducis_cn@126.com
- Package URL
- n/a
- Stability
- n/a