This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-15
Channels
- # announcements (1)
- # aws (79)
- # babashka (47)
- # beginners (82)
- # calva (65)
- # cider (27)
- # cljdoc (18)
- # cljs-dev (29)
- # clojure (189)
- # clojure-dev (5)
- # clojure-europe (3)
- # clojure-italy (1)
- # clojure-madison (6)
- # clojure-nl (4)
- # clojure-spec (10)
- # clojure-uk (41)
- # clojured (3)
- # clojurescript (5)
- # clojurex (17)
- # cursive (30)
- # data-science (7)
- # datomic (17)
- # emacs (3)
- # events (6)
- # fulcro (2)
- # funcool (9)
- # graalvm (29)
- # jobs-discuss (3)
- # joker (3)
- # kaocha (6)
- # malli (5)
- # music (6)
- # off-topic (21)
- # reagent (3)
- # reitit (4)
- # rewrite-clj (8)
- # shadow-cljs (49)
- # spacemacs (7)
- # sql (23)
- # tools-deps (15)
- # vim (43)
- # xtdb (19)
Does gq
work for you on docstrings?
gq
has never worked for me on docstrings, but I just tried gw
and that worked (never heard of it before)
As a part of that interaction, I learned about gw and switched to it because it's slightly better anyway.
i've also gravitated towards gw. what set me on the path was that fireplace required an active connection in order to do gq
Interesting, thanks for all the pointers
I’ll use gw
(it works for me too)
With Fireplace’s REPL buffer-less experience, where can I find stdout?
It seems it should be in :Last
but isn’t in my case. This is a CLJS REPL and the evaluated from returns a promise.
Seems to also not work when not returning a promise
And seems to work when using CljEval
> There’s no persistent connection for stdout. Does that mean it’s just not possible?
If so I might just have to try Conjure 😄
Is there any docs or notes on using Conjure with Shadow CLJS?
It only half works because shadow's prepl implementation isn't quite right atm 😬 as soon as it's updated to be compliant it'll be fine.
Alright 🙂 I tried it just for the sake of it and am getting this error:
; conjure/out | Welcome to Conjure! (v2.1.1-0-g52618ff54b)
; conjure/up | Adding :functions
; conjure/err | Error from :functions java.io.IOException: Stream closed
; conjure/up | Done.
; conjure/up | Removing :functions
Is this the expected behavior at this stage?Yep, I'm afraid so. As soon as shadow is compliant, Conjure will work. Might be worth mentioning interest in #shadow-cljs, if the maintainer(s?) see interest in prepl it might help motivate development. I wouldn't bug them about it though, they know it's wanted, probably just don't have time to get around to it. I'm not pushing them to get it working, I'll see if I can contribute more at some point to help out, just showing interest might help with motivation I think.
Conjure works with any compliant CLJ or CLJS prepl (my terms), if something's a little broken, it's probably the prepl server more than Conjure as a client. Conjure is fairly simple in the grand scheme of things, the most complexity is beginning to lie in the UI which I'm actually rewriting in a Lisp that compiles to Lua soon, should help tidy the UI code up and make it a lot fancier. (I'm even considering animating the log buffer opening 😬 )
https://oli.me.uk/clojure-prepl-for-tool-authors/ I link it a lot, but this post explains how a prepl should work, it's what tool developers can use to make sure they're speaking the same lingo.
It's the only definition online AFAIK, I think I'm the biggest consumer of prepl at a tool level at the moment... I've spent a long time digging through the source.
some sort of log buffer was on the roadmap for future clojurists together funding. but it feels weird to need it
Given that println
debugging is basically my go-to “technique” it would be quite limiting
In my limited testing it didn’t seem that promise or no promise made a difference