From b2b8a0ffda0661511d8aec5634aad314b1e6c710 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Mon, 16 Oct 2017 18:39:20 -0400 Subject: - Re-named lux/control/parser;opt to lux/control/parser;maybe. --- stdlib/test/test/lux/control/parser.lux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stdlib/test') diff --git a/stdlib/test/test/lux/control/parser.lux b/stdlib/test/test/lux/control/parser.lux index df3e9f364..ae3fc2041 100644 --- a/stdlib/test/test/lux/control/parser.lux +++ b/stdlib/test/test/lux/control/parser.lux @@ -82,10 +82,10 @@ (test "Can optionally succeed with some parser." (and (match (#;Some +123) (&;run (list (code;nat +123)) - (&;opt s;nat))) + (&;maybe s;nat))) (match #;None (&;run (list (code;int -123)) - (&;opt s;nat))))) + (&;maybe s;nat))))) (test "Can apply a parser 0 or more times." (and (match (list +123 +456 +789) -- cgit v1.2.3