I believe what's described in that post is possible in Clojure, at least to
an extent. I can't remember where I saw it described, but I think it was a
talk by Stuart Halloway. IIRC you can configure Clojure to run
clojure.main/repl when an exception is thrown, this puts you into a new sub
repl with the lexical bindings at that point in execution. You can inspect
things here and I believe change things. I'm not sure about continuing
running with new values, but I'm guessing that's possible too.

Maybe someone in this group can point to a good resource about this, as I
didn't find it in a quick search.

On Fri, Jan 29, 2021 at 6:09 AM SideStep <nesvarbu.vi...@gmail.com> wrote:

> According to this post:
> https://mikelevins.github.io/posts/2020-12-18-repl-driven/
>
> Breakloop is a true differentiator for "real" REPLs. I can see how
> breakloop really is a game changer.
>
> Also, there is no breakloop in modern languages such as clojure, which is
> heralded for it's REPL driven development, craftsmans' playground, live
> coding etc...
>
> Is breakloop gone from modern REPL languages? Maybe it's not a big deal?
> Or is it?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/clojure/6cbcc0e9-c8d6-42b1-a1ae-3d3b88fcdfb6n%40googlegroups.com
> <https://groups.google.com/d/msgid/clojure/6cbcc0e9-c8d6-42b1-a1ae-3d3b88fcdfb6n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/CAB_6y6ErN6Xv1QxN3gkz2uGwN5MsR-f4rYeUB_1ByCkTFkjDsA%40mail.gmail.com.

Reply via email to