1 2 3 4 5 6 7 8
{% match item %} {% when Some with ("foo") %} Found literal foo {% when Some with (val) %} Found {{val}} {% when None %} Not Found {% endmatch %}