[honu] add fun as an alias to function

This commit is contained in:
Jon Rafkind 2012-01-30 11:47:58 -07:00
parent 54449d824c
commit 712951d347
2 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,7 @@
[racket:else else] [racket:else else]
[racket:void void] [racket:void void]
[honu-function function] [honu-function function]
[honu-function fun]
[honu-var var] [honu-var var]
[honu-== ==] [honu-== ==]
[honu-not-equal !=] [honu-not-equal !=]

View File

@ -4,4 +4,9 @@ function foo(x){
1 + x * 2 1 + x * 2
} }
fun foo2(x){
foo(x + 2)
}
foo(5) foo(5)
foo2(3)