Fork me on GitHub
#cider
<
2016-05-29
>
malabarba01:05:04

@bhauman: what do you mean by that? Load the file with C-c C-k?

hans20:05:43

C-c M-t v does not work for fn names that have a dot in them for me, can someone confirm this is a bug and not a problem with my setup?

bvulpes20:05:51

C-m appears bound to <RET> for me

hans20:05:51

eek, my fault, corrected. muscle memory transcription is a real challenge to me.

hans20:05:17

hm, seems that the cider repl is not working well with functions that have dots in their names in general, dang.

richiardiandrea20:05:40

@hans probably because dots are used to separate namespaces

richiardiandrea20:05:02

Didn't know they were "allowed" for function names

hans20:05:33

richiardiandrea: it seems that a colon works better for my purposes.

richiardiandrea20:05:20

The idiomatic separator is a - btw

hans20:05:15

richiardiandrea: yes. i know. i need my functions to have a application level namespace, and i would like to use something other than "-".

richiardiandrea20:05:58

A meta namespace so to say?

hans20:05:23

not quite - the functions are called from an outside engine and i would like to make it clear that they belong to a certain group of functions, and at the same time use the same name in the outside engine as in clojure to make easy to identify them back and forth.

hans20:05:23

but it may actually be better to just reference name spaces from the outside engine rather than putting the name space into the clojure function name, now that i think about it more. but the colon serves me well for now.

hans20:05:08

anyway, if a dot is a legal character in a function name, cider should not act up when one uses that. 🙂

richiardiandrea20:05:13

Yeah I don't know the specifics but grouping is usually done via namespaces, if you need more categories you create deeper ones...but ..whatever works I guess 😃

richiardiandrea20:05:56

I agree, probably it is not a common usage

richiardiandrea20:05:31

And there is an unhandled code path...I am still surprised it is allowed