let 'fun' replace 'defun' totally
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-28 11:57:56 +09:00
parent b108cc79e7
commit f6d97f8301
19 changed files with 203 additions and 120 deletions

View File

@ -1,4 +1,4 @@
defun x (a b :: r) {
fun x (a b :: r) {
| x y |
@ -30,7 +30,7 @@ if (~= t 500) (printf "ERROR: t is not equal to 500\n") \
else (printf "OK: %d\n" t)
defun x () {
fun x () {
| x y |
@ -58,17 +58,17 @@ x
class T [ j ] {
defun :* new() {
fun :* new() {
set j 99
return self
}
defun x() {
fun x() {
set R {
| x |
set x 1
while (< x j) {
defun Q() x
fun Q() x
set x (+ x 1)
}
}