This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-01-01
Channels
- # beginners (2)
- # cider (20)
- # cljsjs (3)
- # clojure (86)
- # clojure-italy (2)
- # clojure-spec (7)
- # clojure-uk (3)
- # clojurescript (8)
- # defnpodcast (3)
- # emacs (10)
- # figwheel (1)
- # hoplon (9)
- # immutant (4)
- # keechma (2)
- # luminus (11)
- # off-topic (13)
- # re-frame (6)
- # reagent (3)
- # ring (1)
- # specter (5)
- # sql (2)
- # unrepl (127)
Hi there. Does anyone know if there exist a library for doing code slicing in clojure or clojurescript?
I doubt it, what would be an example of code slicing in Clojure?
well .. I am just asking at the moment. I don't have a clear example.
the nice thing about using clojure's immutable data types is the slice for that value can be derived by looking at the thing that returned the value (and repeating this as needed)
@U051SS2EU yes, that's exactly the reason I came to clojurescript.
I am considering developing an utility lib for doing the program slicing.
you could check out tools.reader - you can't get this info in a running program but you can do it programmatically with the source file
thank you. I will take a look tomorrow.
well .. I am just asking at the moment. I don't have a clear example.