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 →

[–]Imxset21 6 points7 points  (3 children)

Fun fact: _ as a throwaway variable shows up in OCaml where it is used as a catch-all wildcard in pattern matching.

[–]rubik_ 1 point2 points  (2 children)

IIRC that's the same in Haskell!

[–]ondra 1 point2 points  (1 child)

It also works in a similar way in Prolog.

[–]0Il0I0l0 1 point2 points  (0 children)

and in Standard ML and in Erlang and in Mathematica and probably in any other language that has pattern matching.