mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2026-01-09 21:25:02 +00:00
example fixes
This commit is contained in:
parent
71c7d91e1a
commit
562541087e
13 changed files with 30 additions and 322 deletions
|
|
@ -1,4 +1,4 @@
|
|||
decl flow_control_test : Unit -> Unit
|
||||
decl flow_control_test : -> Unit
|
||||
def flow_control_test = {
|
||||
if (a < b ||. a == b) && (b < c) then IO.print: x
|
||||
elif x < 0 then {
|
||||
|
|
@ -19,7 +19,7 @@ def flow_control_test = {
|
|||
; IO.print: i
|
||||
}
|
||||
|
||||
for & i & j in & 0--y & 0--k do { // ??
|
||||
for & i & j in (& 0--y & 0--k) do { // ??
|
||||
; IO.print: 1
|
||||
; IO.print: 2
|
||||
; IO.print: 128
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue