clarkgrubb / hyperpolyglot

hyperpolyglot.org
Other
473 stars 94 forks source link

missing option type example for F# #86

Open jnazarioFastly opened 7 years ago

jnazarioFastly commented 7 years ago

looking at this page:

http://hyperpolyglot.org/ml#nullable-type-note

i see you have one for SML, OCaml and Haskell but not for F#. wouldn't this be the equivalent?

> [Some 3; None; Some -4];;
val it : int option list = [Some 3; null; Some -4]

(annoying that the repl shows "null" instead of None ...) but this seems like it's an equivalent example, no?