Some years ago I wrote a PostScript interpreter and quite a while it worked very well without a garbage collector - all was done with reference counting. Apple shows with ARC (Automatic Reference Counting) that even a language much more complex than ELM can work without GC.
So as long as you don't have cyclic references reference counting should do the trick.
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.