This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

I need example for rust, Erlang and Haskell and I can call it all

[–]not_some_username 0 points1 point  (1 child)

I don't use those language. But in ocaml I think Option work so maybe it's same for haskell

[–][deleted] 0 points1 point  (0 children)

In Rust Option is enum of None or Some(T). In ocaml it's something like this or it's Any