This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-20
Channels
- # beginners (17)
- # boot (19)
- # chestnut (1)
- # cider (25)
- # clara (1)
- # cljs-dev (15)
- # cljsrn (10)
- # clojars (9)
- # clojure (182)
- # clojure-brasil (27)
- # clojure-dusseldorf (2)
- # clojure-gamedev (5)
- # clojure-germany (1)
- # clojure-greece (2)
- # clojure-italy (18)
- # clojure-poland (5)
- # clojure-romania (3)
- # clojure-russia (29)
- # clojure-serbia (6)
- # clojure-spec (9)
- # clojure-uk (77)
- # clojure-ukraine (1)
- # clojurescript (61)
- # cursive (5)
- # datomic (20)
- # defnpodcast (1)
- # emacs (10)
- # fulcro (2)
- # graphql (2)
- # hoplon (11)
- # lumo (4)
- # off-topic (50)
- # om (3)
- # onyx (26)
- # other-languages (39)
- # parinfer (2)
- # pedestal (5)
- # re-frame (32)
- # reagent (48)
- # rum (7)
- # shadow-cljs (10)
- # spacemacs (29)
- # sql (10)
- # unrepl (58)
- # vim (3)
@volrath amazing! Offline for a weekend and I miss a nice show!
lein unrepl-make-blob your-blob.clj '{:my.own/action (foo/bar #unrepl/param :baz)}'
is going to generate a custom blob with the addistional sessions actions. Plus the namespace foo
will be automatically required, you just have to put its implementation on the (sideloader) classpath.
@cgrand could I use this to bundle compliment?
A new PR to use compliment-based completion: https://github.com/Unrepl/unravel/pull/36
This needs to be enabled by passing a feature flag: --flag compliment
Using feature flag we'll be able to merge into master fearlessly
try --classpath /Users/pe/.m2/repository/compliment/compliment/0.3.1/compliment-0.3.1.jar --flag compliment
already works if I manually require 'compliment.corestd blob
it's pretty slow though:
(time (require 'compliment.core))
"Elapsed time: 1276.006835 msecs"
but pretty cool that it works!
if compliment is directly on the target JVM, what’s (time (require 'compliment.core))
?
same!
java -cp /Users/pe/.m2/repository/compliment/compliment/0.3.1/compliment-0.3.1.jar:/Users/pe/.m2/repository/org/clojure/clojure/1.9.0-alpha14/clojure-1.9.0-alpha14.jar clojure.main
Clojure 1.9.0-alpha14
user=> (time (require 'compliment.core))
"Elapsed time: 1164.47074 msecs"
that's insane
java -cp /Users/pe/.m2/repository/medley/medley/1.0.0/medley-1.0.0.jar:/Users/pe/.m2/repository/org/clojure/clojure/1.9.0-alpha14/clojure-1.9.0-alpha14.jar clojure.main
Clojure 1.9.0-alpha14
user=> (time 'medley.core)
"Elapsed time: 0.043526 msecs"
Uhm why is this? There is no require there..
I stand corrected
On another topic: guess-readable
is a very simple heuristic that checks if delimiters are well balanced and take care of escape sequences.
Thou shalt not doubt thy sydeloader
@cgrand as a first heuristic to get quicker feedback if parens are wrong?
idea: if I type )
in interactive mode, it automatically inserts the right closing paren, }
, ]
, or )
slippery slope how?
counterpoint: chez's repl has it
Not saying that I’m opposed to the idea, far from it! Just that’s a rabbit hole, a never ending task etc.
that may be true
with a low risk of being broken by a syntax change (considering previous syntax changes)
makes sense
although not sure if it makes a difference perf-wise?
it's not a bug it's a feature
you can do things without wearing out your enter key
FYI that gif doesn’t display properly as it’s behind slack’s auth
you’re welcome… thanks for bringing this to mine! 🙂
https://github.com/Unrepl/unrepl.el/commit/037c57205d44911adc236c5c57a4b9f35f2d8aed -- I guess this disclaimer is now important haha
@cgrand, yeah NPM's readline is a cheap knockoff
It doesn't even have ^R
Not saying that I’m opposed to the idea, far from it! Just that’s a rabbit hole, a never ending task etc.
I guess I need to explore a basic integration with vim now, unrepl has accelerated too quickly for me. I've just started an nrepl one!
unrepl FOMO