Skip to content
Commit 9b332512 authored by Pierre Delaunay's avatar Pierre Delaunay
Browse files

Use Susp to shift when required.

I don't understand why:

	sqr = lambda (x : Int) -> x * x;
	main = sqr 2;  	% sqr[0] 2;
					% failed to find sqr[0] found main

is not processed correctly sqr is not shifted by one as it should
have been.

Changes to be committed:
* src/lparse.ml
* src/lexp.ml
* src/debruijn.ml
parent 18d7aa8d
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