jazz
jazz copied to clipboard
which functional operation would simplify this?
https://github.com/foundpatterns/torchbear/blob/2b7737008f925b793dff466dbdd508ece9baacf5/src/managers/web_server.lua#L11
that would be a foreach, but I now think lua is in this case better used as imperative rather than functional (i'm not shure though, i'm not very strong on this opinion)
The loop form is simpler or equal to the functional form, and this was moved to lighttouch anyway.