I live in Poznań (Poland).
On Sunday, July 20, 2014 5:35:19 PM UTC+2, Aaron France wrote:
>
> Where are you based?
>
>
> On Sun, Jul 20, 2014 at 4:29 PM, Krzysztof Władyka > wrote:
>
>> Hello,
>>
>> I am living in Poland and i have a little problem there... totally 0 jobs
>> for Clojure Programm
Hi,
We're primarily an Erlang shop but we have small applications in Clojure.
Would you like to have a chat with my manager about positions available
here?
On Mon, Jul 21, 2014 at 10:13 AM, Krzysztof Władyka
wrote:
> I live in Poznań (Poland).
>
>
> On Sunday, July 20, 2014 5:35:19 PM UTC+2,
Hi, I'm learning about tools to help me debug from the REPL, and I found
these two with the same name:
clojure.stacktrace/root-cause
clojure.repl/root-cause
For a very simple case (wrong arity), they give pretty similar output:
user=> (char 0 0 0)
CompilerException clojure.lang
Hi,
If I understand your pb correctly, and form what I have seen in the Scala
world, there is maybe a simpler way to do it :
(defn process-args [args fnkeys fndefault]
(let [[positional-args named-args] (split-with (complement keyword?)
args)
named-args (into {} (map vec (partition
I have now noticed that these two are also very similar:
clojure.stacktrace/print-stack-trace
clojure.repl/pst; (for Print Stack Trace)
Here is their output for the same error:
user=> (char 0 0 0)
CompilerException clojure.lang.ArityException: Wrong number of args (3)
passed to: co
Hi,
Is there a better way to reload dependencies in Cider than by shutting down
the nrepl and running 'lein deps'?
Many Thanks
Aidy
--
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
You don't need to run 'lein deps', simply cider-restart and they will be
updated automatically.
If you want to get really fancy and modify them at runtime, take a look at
pomegranate: https://github.com/cemerick/pomegranate
and the alembic project made for this use-case:
https://github.com/pallet
>
> Hi,
>
I gave this a try over the weekend and then I do this it all works fine:
(import java.util.concurrent.ScheduledThreadPoolExecutor )
(import java.util.concurrent.TimeUnit)
(def executor (ScheduledThreadPoolExecutor. 1))
(defn my-func []
(println "adsf" )
(.schedule executor my-func
Hi,
Recently I found myself wanting a macro similar to some-> or some->> but one
where I could specify an arbitrary predicate instead of nil?. For example, I
have a Ring request map which I wish to pass through a number of functions. Any
of these functions might return an error response and if
you want to pass a closure, not call my-func recursively:
(defn my-func [id]
(println id )
(.schedule executor #(my-func (inc id)) 1 TimeUnit/SECONDS))
or
(defn my-func [id]
(println id )
(.schedule executor (fn [_] (my-func (inc id))) 1 TimeUnit/SECONDS))
Luc P.
>
> >
> > Hi,
> >
> (alt-enter mapped to "eval sexp in repl" is used heavily)
That's interesting but it doesn't seem to be a default and I can't find
anything like 'eval sexp in repl' in the keymap nor anywhere else (using
the IDEA search functionality under Preferences (OSX)).
On Thursday, February 6, 2014 3:06
Hi,
I created this little library that adds first-level support for durations
via a tagged literal:
#unit/duration "2D 10h 5m 10s"
This creates a java.time.Duration with a value of 2 days 10 hours 5 minutes
and 10 seconds.
It also makes it easy to quickly turn some huge milliseconds amount into
In my case, I'm trying to use a the expression '[x] that is available to
the macro in the resulting product. So I don't want the value of x at all,
just a vector with the symbol x.
That vector is in a variable I have in the macro named
'positional-parameters', so I substitute '~positional-paramet
>
> As a work in progress, here is the code I came up with, it hard codes the
> function name:
>
(defun cider-eval-cljs-defun-at-point (&optional prefix)
"Evaluate the current toplevel form, and print result in the minibuffer.
With a PREFIX argument, print the result in the current buffer."
The predicate parameter introduces an additional predicate check on a
per-step basis which can be avoided under most circumstances.
If check-auth or check-balance return just their input value where that is
valid, threading has no use here.
They could be modified to only return something if th
I haven't taken the time to fully grok your macro, but the error is not the
fault of your macro, but of the function invocation. (foo x) is causing the
error because x is undefined. foo is a plain function, not a macro, so it
tries to evaluate each argument. (foo 'x) works fine for me, as does (
Check out pedestals interceptors, they handle both error and
pause/resume-request functionality. Seems you could have great use of it.
Pedestal-service is the repo.
pedestal.io
/Linus
On Monday, July 21, 2014, Leon Grapenthin wrote:
> The predicate parameter introduces an additional predicate
Cursive doesn't come with default keybindings right now, due to the fact
that IntelliJ's keybindings handling was a little unpredictable until
recently. It's better since v13 so when I get some time I'll be sorting out
a proper keymap.
In the meantime, the commands you want are "Run form before cu
Oups typo in my last reply should be
(fn [] )
IPhone quirk, tiny, very tiny keyboard...
Luc P.
--
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 that posts from new members are mod
19 matches
Mail list logo