Fork me on GitHub
#unrepl
<
2017-05-19
>
plexus06:05:43

$ lein unrepl-make-blob
'unrepl-make-blob' is not a task. See 'lein help'.

cgrand07:05:22

@plexus this commit is for you, sorry

dominicm07:05:00

@cgrand

❯ lein unrepl-make-blob
java.io.FileNotFoundException: resources/unrepl/blob.clj (No such file or directory)
Am I doing something wrong?

cgrand07:05:40

sigh, mkdir -p resources/unrepl

dominicm07:05:41

I always forget that empty directories don't get added to git

cgrand08:05:33

@dominicm this one is for you

cgrand08:05:03

each time one sends the blob it creates new random namespaces

cgrand08:05:37

do you think it would be valuable to give the possibility to make it deterministic at times?

dominicm08:05:57

Only if there's no way to know where to start the unrepl from?

dominicm08:05:25

Alternatively you could output the "start" command in a separate file & then it can be made part of the build process

cgrand08:05:49

I don’t follow

dominicm08:05:24

ah, I didn't realise the blob started the unrepl too. Then I can't think of a reason then.

pesterhazy09:05:47

@cgrand, let me dig it up

pesterhazy09:05:55

sorry for the not-too-clean diff

pesterhazy09:05:11

if you add a similar feature, I can update unravel to use the updated code in the next days

cgrand15:05:59

@pesterhazy I’m looking at your commands, should’t the :doc command returns something more structured (all metadata (or a subset)? something else?)

pesterhazy15:05:16

I just implemented the minimum to get the feature I wanted, as a proof of concept

cgrand15:05:16

keys: :canonical-name :forms :docstring :urls :type (:macro :special ...)

pesterhazy15:05:45

Yeah I think there's a lot to learn from existing completion libs

pesterhazy15:05:06

The keys you mention look sensible

cgrand15:05:32

What libs should we look at for inspiration?

dominicm15:05:14

has a surprisingly well documented list of what it returns.

dominicm16:05:10

might be worth perusing the clients like fireplace/cider.el to find out what keys from meta they actually care about

dominicm16:05:22

:ns is something I notice missing.

pesterhazy17:05:12

yeah I was thinking of compliment

pesterhazy17:05:24

might be useful if we want to include a library in a payload bundle

cgrand18:05:19

I'll look into dolly. Mranderson is a nogo