Does that mean pass every needed function as a parameter? Or just don’t write generic functionality?
Yes, one would use higher order functions, as is common in Erlang, Elixir, OCaml, Elm, etc.
Yes, one would use higher order functions, as is common in Erlang, Elixir, OCaml, Elm, etc.