Fork me on GitHub
#cursive
<
2016-09-19
>
denik03:09:22

@cfleming, yes in that case it was a local binding from a let. I think it simply moved through each parent scope until all symbols in the expression could be resolved. It never has to go beyond the top-level form since from there things are namespace global. This really eliminates a lot of pain writing print statements within lets or going to the end of the let an rewriting it to return the binding’s result.

denik03:09:42

@cfleming I know you have a whole lot on your plate, but this seem like an easy feature. But in terms of dev experience I think it would be worth gold.

cfleming05:09:47

@denik Yeah, that seems relatively easy, and it’s actually related to something I wanted to build for extract function

kenny19:09:09

@cfleming I also would love that feature ^. Another use case is in deftests and evaluating all bindings in the parent scope until you can run your individual test.