Changelog for egison-4.1.3

Changelog

Latest

New Features

> let mod x y := x % y in 103 `mod` 10
3

Backward-incompatible Changes

> `(a + b) + `(a + b) -- QuoteExpr, which prevents (a + b) from unpacking
2 * '(a + b)
> 'exp x              -- QuoteSymbolExpr
exp x

4.1.2

4.1.1

4.1.0

New Features

> let (x :: _) := [1, 2, 3] in x
1
> let (x :: _) := [] in x
Primitive data pattern match failed
  stack trace: <stdin>
> (\(x, _) -> x) (1, 2)
1
> let add x y := x + y in map (add 1) [1, 2, 3]
[2, 3, 4]

Backward-incompatible Changes

def x := 1
-- Invalid
io isEof ()

-- OK
io (isEOF ())
io $ isEOF ()

Miscellaneous

4.0.3

4.0.1

4.0.0