mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-29 10:18:46 +00:00
const -> let
This commit is contained in:
parent
3ae6ed079d
commit
189306df26
33 changed files with 406 additions and 285 deletions
|
|
@ -1,7 +1,7 @@
|
|||
decl test-tuples : -> \unit
|
||||
def test-tuples = {
|
||||
var tuple1 = & ''a & 2 & "hello"
|
||||
const & t1 & t2 & t3 = f: x
|
||||
let & t1 & t2 & t3 = f: x
|
||||
|
||||
; tuple1`0 = ''b
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue