Hacker News new | ask | show | jobs
by abhirag 3357 days ago
Haven't used OCaml but the recommended practice in Erlang/Elixir is to break down complex pattern matches into separate function clauses, as function calls are also driven by pattern matching.