https://github.com/judah-caruso/la
Lambda Alias - A module that defines λ and λ* in Gerbil Scheme
https://github.com/judah-caruso/la
gambit gerbil scheme
Last synced: 4 months ago
JSON representation
Lambda Alias - A module that defines λ and λ* in Gerbil Scheme
- Host: GitHub
- URL: https://github.com/judah-caruso/la
- Owner: judah-caruso
- License: mit
- Created: 2019-07-22T00:43:28.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-22T03:57:18.000Z (almost 7 years ago)
- Last Synced: 2025-03-16T11:41:40.838Z (over 1 year ago)
- Topics: gambit, gerbil, scheme
- Language: Scheme
- Size: 2.93 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
Lambda Alias
------------
A tiny module for defining λ (lambda) and λ* (case-lambda) in Gerbil Scheme.
This was made mostly because I'd rather not litter every project of mine with
`(defalias λ lambda)` and `(defalias λ* case-lambda)`.
Examples
--------
(import :judah/la)
(def simple-lambda (λ (x y) (+ x y)))
(def simple-case-lambda
(λ*
((x y z) (+ x y z))
((x y) (+ x y))
((x) (+ x 1))))