Skip to content

Lambda Alias - A module that defines λ and λ* in Gerbil Scheme

License

Notifications You must be signed in to change notification settings

judah-caruso/la

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Lambda Alias - A module that defines λ and λ* in Gerbil Scheme

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages