fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 165: Last element of list
Idiom # 165: Last element of list
See
programming-idioms.org
:
Code
x := elements.last
What are effects?
Running Example
ex165 is elements := [1,2,3,4,5] x := elements.last say x
What are effects?
last changed: 2024-07-01
next: Idiom # 166: Concatenate two lists