:candy: a functional language for building type-safe, scalable, and maintainable applications
1.06k
stars
25
forks
source link
Local function is shadowing imported function with the same name in generated erlang #58
Closed
michallepicki closed 3 years ago
To Reproduce
main.ml
containinglet weird_join_but_ok list joiner = let join el acc = acc @ [el; 0] in Lists.foldl join [] (Lists.join joiner list)
let main _ = print (weird_join_but_ok [1; 3] 2) ; ()
Expected behavior Erlang gets generated with
and running it results in
Environment (please complete the following information):