RosettaCodeData/Task/Call-a-function/ArkScript/call-a-function-3.ark

7 lines
173 B
Plaintext

(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