News for hackers. Stuff that matters.
Re:Why do we need modules at all? (2011) by agumonkey on Friday November 07, 2014 @10:43AM (#8572990)
the hash must account for bound variables so that fun add(x, y) { return x + y } is the same as fun add(a, b) { return a + b }. Beta-reduction independance.
Re:Why do we need modules at all? (2011) by derefr on Friday November 07, 2014 @10:58AM (#8573075)
Right. Identifier names effectively become metadata; the AST would look like numbered SSA references (as in LLVM, which does a similar transformation, to allow the optimizer pass to just pattern-match known AST "signatures" and rewrite them.)