This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-18
Channels
- # aws (1)
- # aws-lambda (1)
- # beginners (48)
- # boot (15)
- # cider (3)
- # cljs-dev (4)
- # cljsrn (4)
- # clojure (241)
- # clojure-chicago (1)
- # clojure-dusseldorf (12)
- # clojure-greece (41)
- # clojure-italy (3)
- # clojure-russia (16)
- # clojure-spec (7)
- # clojure-uk (34)
- # clojurescript (88)
- # community-development (9)
- # cursive (8)
- # data-science (55)
- # datomic (40)
- # devops (1)
- # emacs (20)
- # fulcro (19)
- # graphql (3)
- # hoplon (46)
- # luminus (11)
- # lumo (4)
- # off-topic (27)
- # onyx (26)
- # other-languages (25)
- # pedestal (2)
- # powderkeg (6)
- # re-frame (11)
- # reagent (4)
- # ring-swagger (17)
- # rum (4)
- # shadow-cljs (103)
- # spacemacs (14)
- # specter (6)
- # unrepl (21)
- # yada (1)
Ok I’ve got an interesting comment from someone trying unravel: long strings are not shortened
I believe it’s a valid point and I’m certainly going to add #unrepl/string [prefix #unrepl/... {:get (business as usual)}]
to the format. Anyone has a counterpoint?
I think that's an excelent idea
I'm going to jump in and suggest we're very precise about this also: do we work on glyphs, byte lengths, etc.?
80 sounds about right to me
I'm guessing we can make it configurable at some point (though not necessarily initially)
@cgrand because there's been a number of bugs in things I've used around cutting off a character half-way through and then not renconvening that.
fun fact, the auto-complete I wrote for nrepl was originally broken because the bencode library I used was doing # of bytes rather than number of characters.
@pesterhazy it would be controlled by a dynvar like depth & breadth elisions
.substring
should do the right thing though, @dominicm?
@pesterhazy substring don’t care about surrogates
@cgrand Probably. I think it's good to be ahead of this kind of thing is all, because string cutting seems fraught with peril historically.