Mercurial > repos > tabletprog
view modules/option.tp @ 360:0b83f15e819d
Update llcompile for changes to llFun syntax
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 21 Apr 2015 09:00:56 -0700 |
parents | fd4e0bf5bd9f |
children |
line wrap: on
line source
{ _none <- #{ value:none <- :ifval :ifnone { ifnone: } value <- :ifval { self } value? <- { false } none? <- { true } } #{ value <- :v { #{ value:none <- :ifval :ifnone { ifval: v } value <- :ifval { option value: (ifval: v) } value? <- { true } none? <- { false } } } none <- { _none } } }