Skip to content
Snippets Groups Projects
Commit eab928c6 authored by Laszlo Domoszlai's avatar Laszlo Domoszlai
Browse files

+ pattern matching

+ local vars
current running maximum:

:: _predefined._List = _predefined._Cons a1 a2 | _predefined._Nil

example.map f_0 !_x_1 = select _x_1 (_predefined._Nil -> _predefined._Nil) (_predefined._Cons a_1_0 as_1_1 -> _predefined._Cons (f_0 a_1_0) (example.map f_0 as_1_1))
example.inc !a_0 = add a_0 1
example.Start = example.map example.inc (_predefined._Cons 1 (_predefined._Cons 2 (_predefined._Cons 3 _predefined._Nil)))
parent 936d585f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment