[honu] add fun as an alias to function
This commit is contained in:
parent
54449d824c
commit
712951d347
|
@ -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 !=]
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user