From dfc08ff2c6580bbeb3951b223e0332546ba3b0d9 Mon Sep 17 00:00:00 2001 From: Greg Brown Date: Thu, 6 May 2021 19:40:59 +0100 Subject: Introduce lambda expressions. --- tests/full/nibble/ratata.nb | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tests/full/nibble/ratata.nb (limited to 'tests/full/nibble/ratata.nb') diff --git a/tests/full/nibble/ratata.nb b/tests/full/nibble/ratata.nb new file mode 100644 index 0000000..feeccca --- /dev/null +++ b/tests/full/nibble/ratata.nb @@ -0,0 +1,3 @@ +let opt x = _ | x; +let plus x = !(/rec/ x . opt rec); +match plus (("r" | "t") . "a"); -- cgit v1.2.3