An open API service indexing awesome lists of open source software.

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

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))))