From: Luke Lau Date: Sun, 2 Jun 2019 16:39:47 +0000 (+0100) Subject: Detect and remove __anon_exprs in repl X-Git-Url: http://git.lukelau.me/?a=commitdiff_plain;h=431c4b6e37e414b6959cdf14a50622c514ea0a85;hp=431c4b6e37e414b6959cdf14a50622c514ea0a85;p=kaleidoscope-hs.git Detect and remove __anon_exprs in repl You might have noticed that when entering in top-level expressions you end up getting duplicate __anon_expr.1, __anon_expr.2s etc. Since we don't want these anonymous functions to stick around, in this commit we're detecting them and then removing them once we're done. We also only want to run the JIT whenever the user has entered a top-level expression, so we've also sketched that out. ---