I think something like Clojure's transients would be nice in other functional languages, including Elm. I believe there are times when loops and procedural stuff are actually the nicest way to encode things.
https://clojure.org/reference/transients -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.