calva

Wednesdays you might find @U0ETXRFEW in the Gather Calva space. Invite is https://gather.town/invite?token=GZqrm7CR and the password is `Be kind`.
flowthing 2021-04-27T12:50:39.258700Z

Given a test like this:

(deftest foo
  (is (= #{1 2 3} #{1 2 4})))
Running it in Calva prints a result like this:
; FAIL in my.ns/foo (ns.clj:42):
; expected:
#{1 3 2}
; actual:
(#{1 4 2})
Note the somewhat confusing extra parens around the actual result. Is this expected behavior, or should I file an issue?

pez 2021-04-27T13:13:56.259300Z

Both. πŸ˜ƒ Are those not there when you use CIDER?

flowthing 2021-04-27T13:22:57.260400Z

I don’t use CIDER, so :man-shrugging::skin-tone-2: . But OK, I’ll make an issue.

pez 2021-04-27T13:33:20.260600Z

Oh, I thought you where. πŸ˜ƒ Anyway, I think this is an issue on cider-nrepl, but good to have it captured in the Calva issues list.

2021-04-27T17:54:09.261100Z

I know I can clear the repl history, but is their a way to clear the output window?

2021-04-28T10:07:31.266200Z

Ha! I hadn't even considered jsut selecting the text and deleting it πŸ˜„

πŸ˜€ 1
pez 2021-04-28T10:25:13.271700Z

I see two reasons why a command would make sense: 1. Discoverability. You are not the first one asking this, @qmstuart 2. Accessibility. The current way to do it makes you have to leave the file you are editing. The second one is strongest. We do advocate a workflow from within the files. We should consider smoothing that wherever we can.

πŸ‘ 1