If you use CIDER, cider-enlighten-mode will show you something similar to 
that. 

Without cider-enlighten-mode: 
https://fetchh--captured.s3.amazonaws.com/2016-08-16_162853.png

with it:
https://fetchh--captured.s3.amazonaws.com/2016-08-16_162832.png

and a gif comparing the 2:
https://fetchh--captured.s3.amazonaws.com/enlighten.gif

On Tuesday, August 16, 2016 at 12:50:42 AM UTC+10, Yangkook Kim wrote:
>
> I love LightTable's instarepl feature. Are there any existing 
> libraries/macros that allows me do the similar thing?
>
> Here is the video that shows instarepl in action: 
> https://youtu.be/cs3lO4FE3U4?t=68
>
> My idea is that "with-instarep" prints out the source of inner function 
> with evaluated values which looks like this.
>
> user=> (with-instarepl
>   #_=>   (my-func 1 2))
>   #_=>
>   #_=> (defn my-func [x y] fn 1 2
>   #_=>   (let [x (inc x)   2
>   #_=>         y (inc y)]  3
>   #_=>     (+ x y))) 5      
>   #_=>
>   #_=> 5
>
>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to