Egison

Appeared in:
2011
Influenced by:
Paradigm:
Typing discipline:
File extensions:
.egi
Versions and implementations (Collapse all | Expand all):
Programming language

Egison is a functional programming language with the strong expressive power of pattern-matching. With Egison, we can express pattern-matching against a wide range of data types including multisets and sets.

Elements of syntax:

Inline comments ;
Variable assignment (define $x ...)
Deep equality eq?
Deep inequality 1#(not (eq? %1)
Function definition (define $f (lambda [$x ...] ...))
Function call (f arg ...)
Function call with no parameters (f)
For each value in a numeric range, 1 increment (map expr (between 1 n))