F# how to write an empty statement.
Posted
by Eamon Nerbonne
on Stack Overflow
See other posts from Stack Overflow
or by Eamon Nerbonne
Published on 2010-04-24T11:27:07Z
Indexed on
2010/04/24
11:33 UTC
Read the original article
Hit count: 440
F#
How can I write a no-op statement in F#?
Specifically, how can I improve the second clause of the following match statement:
match list with
| [] -> printfn "Empty!"
| _ -> ignore 0
© Stack Overflow or respective owner