diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-06-09 10:32:54 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-06-09 10:32:54 -0400 |
| commit | a46670f5100e6ac5e39e52d2168b754e9d614bca (patch) | |
| tree | 4c625bd843457730cca02daa07ce9f53ca5ac5de /fib.kpl | |
| parent | e32c4b377b56d7b23047b44cf8cc95726d4d81ef (diff) | |
inline fn defs
Diffstat (limited to 'fib.kpl')
| -rw-r--r-- | fib.kpl | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ n can be any numeric type */ -`export fib : Fn[n] $ ( +`export fib : ([x] t : `type n ? { |(t = Int_signed; t = Float) { @@ -21,11 +21,11 @@ } ) -`export fib_string Fn[n] $ ( +`export fib_string : ([n] "#MAGENTA#fib#(#CYAN#%#) #WHITE#=# #GREEN#%#\n" `format (n; fib `sync n) ) -`is_main Fn $ ( +`is_main ([] `use "sys" [args] ? 3 != `length args { `return `error String $ ( |
