Made Booleans a first-class type. (0.23.0)
This commit is contained in:
parent
bd51aea318
commit
95eba1eb12
12 changed files with 131 additions and 18 deletions
6
examples/boolean_decl.fun
Executable file
6
examples/boolean_decl.fun
Executable 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))
|
||||
Loading…
Add table
Add a link
Reference in a new issue