From 468f376bfc2cf3e09addac37cd144de56b5f93bf Mon Sep 17 00:00:00 2001 From: Anthony Nowell Date: Wed, 27 Sep 2017 01:53:35 -0600 Subject: implement basic match functionality --- testing/templates/match.html | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 testing/templates/match.html (limited to 'testing/templates') diff --git a/testing/templates/match.html b/testing/templates/match.html new file mode 100644 index 0000000..51950b4 --- /dev/null +++ b/testing/templates/match.html @@ -0,0 +1,6 @@ +{% match item %} +{% when Some with (val) %} +Found {{val}} +{% when None %} +Not Found +{% endmatch %} -- cgit