diff options
author | Eduardo Julian | 2019-03-30 21:45:45 -0400 |
---|---|---|
committer | Eduardo Julian | 2019-03-30 21:45:45 -0400 |
commit | 118895081d97279a796cc704e6c23bf92ed79e5e (patch) | |
tree | 1ea654e3f913bfc5f978bba46620c535e7a4a7bc /new-luxc/source/luxc/lang/translation/scheme.lux | |
parent | 5009bfaa56119a58e675a1e6008623790b54cc1c (diff) |
Re-named "do-template" to "template".
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/scheme.lux')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/scheme.lux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/new-luxc/source/luxc/lang/translation/scheme.lux b/new-luxc/source/luxc/lang/translation/scheme.lux index 7d261ca04..e509cb8ca 100644 --- a/new-luxc/source/luxc/lang/translation/scheme.lux +++ b/new-luxc/source/luxc/lang/translation/scheme.lux @@ -18,7 +18,7 @@ (host [scheme #+ Expression])) [".C" io])) -(do-template [<name>] +(template [<name>] [(exception: #export (<name> {message Text}) message)] @@ -164,7 +164,7 @@ (function (_ compiler) (#e.Success [compiler (|> compiler (get@ #.host) (:coerce Host) (get@ #program-buffer))]))) -(do-template [<name> <field> <outputT>] +(template [<name> <field> <outputT>] [(def: (<name> code) (-> Expression (Meta <outputT>)) (function (_ compiler) |