Fixed a crasher (call stack size exceeded) in #Glentities for Friday evening fun. #NodeJS doesn't have tail recursion, #Gleam emulates it. But not via indirection.
Lesson learned: be extra clear to Gleam so TCO works in the Node target. #Erlang target didn't have this issue.
#glentities #nodejs #gleam #erlang