This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-06
Channels
- # announcements (3)
- # aws (23)
- # beginners (61)
- # calva (57)
- # cider (121)
- # clara (1)
- # clj-kondo (9)
- # cljs-dev (62)
- # cljsrn (3)
- # clojure (79)
- # clojure-europe (2)
- # clojure-nl (19)
- # clojure-spec (9)
- # clojure-uk (14)
- # clojurescript (92)
- # clojureverse-ops (2)
- # cursive (3)
- # data-science (2)
- # duct (1)
- # figwheel (2)
- # graphql (6)
- # jobs (1)
- # kaocha (5)
- # leiningen (11)
- # off-topic (25)
- # overtone (1)
- # pedestal (4)
- # portkey (1)
- # re-frame (1)
- # remote-jobs (2)
- # shadow-cljs (179)
- # slack-help (3)
- # specter (7)
- # testing (14)
- # tools-deps (14)
- # unrepl (12)
- # vim (2)
- # yada (3)
hey 👋 we’re using unrepl at Nextjournal for our Clojure eval. Any recommendation how to make it play nice with notebooks where you want to show an error if an expression is incomplete?
we recently introduced reading on the clojure side to check it’s complete but now realised this breaks on namespaced keywords etc
It’s crude but: take your input (notebook cell) and send `(eval (read-string ~cell)) to unrepl thus the reading will occur on the other side
(ok it’s too crude: you have to take into account that the cell may contain multiple forms but you get the idea)
@cgrand thanks again, your solution works like a charm and is now deployed on http://nextjournal.com