RosettaCodeData/Task/Call-a-function/ArkScript/call-a-function-3.ark
2025-08-11 18:05:26 -07:00

6 lines
173 B
Text

(let foo (fun ()
4 # this value will be discarded as it has no effect
(compute_something 1 2 3) # the return value will be discarded too
5 ))
(print (foo)) # => 5