add honu function
This commit is contained in:
parent
32227e391d
commit
00989ef01b
9
collects/honu/private/function.honu
Normal file
9
collects/honu/private/function.honu
Normal 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 ...)) }
|
Loading…
Reference in New Issue
Block a user