mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2026-01-07 20:25:01 +00:00
example fixes
This commit is contained in:
parent
71c7d91e1a
commit
562541087e
13 changed files with 30 additions and 322 deletions
|
|
@ -48,10 +48,10 @@ def find_substring : str substr = {
|
|||
return result
|
||||
}
|
||||
|
||||
decl is_empty : Unit -> Bool
|
||||
decl is_empty : -> Bool
|
||||
def is_empty = 0
|
||||
|
||||
decl do_something : Unit -> Unit
|
||||
decl do_something : -> Unit
|
||||
def do_something =
|
||||
IO.print: "Hello World!"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue