Skip to content
Commit 1e05e7c1 authored by Stefan's avatar Stefan
Browse files

Fix WHNF of Let and recognize negative integers

* src/lexer.ml (nexttoken): Recognize negative integer.

* src/opslexp.ml (lexp_whnf): Really return WHNF for `Let`.

* tests/eval_test.ml ("Let"): Use negative integer, to test them.
("Lists"): Add tests using a different definition of List.
parent 02dabd43
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment