slot-lambda
Write lambdas without naming the parameters. Example: The unicode character ı(U+0131, not the number 1!) representing a 'slot' can be input in vim with the digraph 'i.' . _ı stands for the same argument as the immediate left ı does. Any suggestions of another unicode character in the 'Letter, Lowercase' category that 1)no one would use as a variable name, and 2)can be easily input in vim are welcome. You can also use _0,_1,_2,... to refer to the 1st, 2nd, 3rd, ... arguments. Just import Syntax.Slot and use either [s| ... |] or [slot| ... |], which are the same thing given two names for convenience.
hackage.haskell.org
0.1.0.3
almost 12 years ago
4
3,019 total
Past Dependents
Check this option to include packages that no longer depend on this package in their latest version but previously did.
Filter by Kind
Links
| Registry | hackage.haskell.org |
| Source | Repository |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:hackage/slot-lambda
spec |
| License | MIT |
| First Release | almost 12 years ago |
| Last Synced | 3 days ago |
Repository
| Stars | 26 on GitHub |
| Forks | 0 on GitHub |