r/functionalprogramming • • Jul 19 '23

Question When does Variable Capture happen in substitution?

I want to program a compiler for uni and have to use the locally nameless representation. I just don't get the point of locally nameless. Is it just a functional programming problem or does variable capture happen in java or kotlin too?

4 Upvotes

9 comments sorted by

View all comments

Show parent comment

2

u/metazip Jul 20 '23 edited Jul 20 '23

I just don't get the point of locally nameless

Maybe you can't find the point because it's free of points? Can this help you: Tacit programming or Function-level programming or John Backus, Lecture ?