1
0
Fork 0
forked from fun/fun

Made Booleans a first-class type. (0.23.0)

This commit is contained in:
Johannes Findeisen 2025-10-04 17:34:23 +02:00
commit 95eba1eb12
12 changed files with 131 additions and 18 deletions

6
examples/boolean_decl.fun Executable file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env fun
boolean b = false
print("b => " + to_string(b))
/* Try typeof via built-in function if available */
print("typeof(b) => " + typeof(b))