add honu function

This commit is contained in:
Jon Rafkind 2010-07-16 11:05:14 -06:00
parent 32227e391d
commit 00989ef01b

View File

@ -0,0 +1,9 @@
#lang honu
provide function;
macro function ()
{ _ name:identifier (args:identifier ...) { body ... } }
{ #sx scheme:syntax #sx(define (name_result args_result ...)
(honu-unparsed-begin body ...)) }
{ _ (args:identifier ...) { body ... }}
{ #sx scheme:syntax #sx(lambda (args_result ...) (honu-unparsed-begin body ...)) }