Mercurial > repos > tabletprog
view samples/testdict.tp @ 238:3bfc00e4f5e5
Eval lambda assignments at macro expandion time so they can be called by macros
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 05 Jan 2014 19:27:41 -0800 |
parents | 6735db9b44ba |
children |
line wrap: on
line source
#{ main <- { foo <- dict linear: foo set: "key1" "val1" foo set: "key2" "val2" foreach: foo :k :v { print: k . ", " . v . "\n" } } }