Unofficial Hacker News companion — get notified on comment replies, and more.

Roc version 0.1.0, eight years in the making (opens external site)

483 points by DrDeadCrash 1 day ago | rtfeldman.com | 134 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (2)

  1. I agree with that, I tried to look for the correct term to describe this but the best thing I could find was multiple dispatch.

    It's not just Haskell, though. Like I said, Erlang/Elixer also support this, and it enables writing some really elegant code.

    Replies (1)
    1. Standard ML is probably where to look for pattern matching function application?

          fn []      => 0
          | x :: xs => 1 + length xs