Re: [ANN] lein-codeindex 0.1.0 - Easy code indexing and referencing for Emacs, Vim and other editors

2016-12-30 Thread Pedro Santos
Played around with it and it was pretty cool. Did have to change your code to specify a full path for ctags on my machine. The thing is, when I tried something like namespace/function it didn't follow... that would be my main usage I'd say. Any plans to accomplish that? On Fri, Dec 30, 2016 at 8:

Re: clojure.spec

2016-05-27 Thread Pedro Santos
Thanks Beau and Alex, I ended up using a different namespace and got things done! About chans: I was trying to use the spec mainly as a checker on test/dev. We have a system that communicates a lot via channels but we lose that extra check at those boundaries. Didn't think about the transducers, t

Re: clojure.spec

2016-05-27 Thread Pedro Santos
Hello, How can I differentiate between the same keyword, but with difference semantics? Example: {:attack 100 :bonus {:attack {:category {:heavy 100 I have: (s/def ::attack (s/and pos? #(<= 1 1000)) (s/def ::bonus (s/keys :req-un [::attack ; <--- Is there a way to do this? -- Another que

Re: more minimal clojurescript intro/app

2016-03-26 Thread Pedro Santos
I've done somehting like that: https://medium.com/@donbonifacio/running-clojure-code-on-javascript-e1f37071e69e#.mmasgmo7q On Saturday, 26 March 2016, Alan Thompson wrote: > Have you seen this tutorial? https://github.com/magomimmo/modern-cljs > Alan > > On Sat, Mar 26, 2016 at 8:06 AM, Lee Sp

Attempting to call unbound fn

2016-02-01 Thread Pedro Santos
Hello, I'm referencing a fn on another lib/namespace. Is this one: https://github.com/clanhr/clanhr-api/blob/master/src/clanhr_api/core.clj#L197 We don't use declare, it's just a "normal" fn. On another project that references that fn, we get: #error { :cause Attempting to call unbound fn: #'cl

Re: functions that operate on map_entry?

2015-09-25 Thread Pedro Santos
an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Pedro Santos Home - http://psantos.zi-yu.com -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to th

Re: Can anyone recommend a tutorial or blog post on porting existing Clojure program to ClojureScript?

2015-08-06 Thread Pedro Santos
uot;Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Pedro Santos Home - http://psantos.zi-yu.com -- You received this message becau

Re: Twitter bot crashing on Heroku

2015-07-27 Thread Pedro Santos
oups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note