fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 171: Add an element at the end of a list
Idiom # 171: Add an element at the end of a list
See
programming-idioms.org
:
Code
s ++ [x]
What are effects?
Running Example
ex171 is s := [0, 8, 15] x := 4711 t := s ++ [x] say t
What are effects?
last changed: 2024-07-01
next: Idiom # 172: Insert entry in map