Yuri Govorushchenko
Yuri Govorushchenko
No, I haven't. So I've just tried to do it under MacOS but the compilation failed: ``` ᐅ ocamlbuild -use-ocamlfind -lflags -cclib,-lreadline grench.native + ocamlfind ocamlc -c -g -annot -thread...
Thank you for a quick reply. I too used 4.04.0. But I'll try to do it in Debian then.
The example in https://github.com/JulianBirch/cljs-ajax/blob/master/docs/interceptors.md doesn't work in Clojure where body is an `InputStream`: ```clj (if (ajax.protocols/-body response) ``` (I'm not even sure it works in ClojureScript, as I had to...
My previous comment is incorrect because not all responses have `Content-Length`. So instead of interceptor I settled on a custom parsing function: ```clj (ns foo (:require [ajax.interceptors :as ajax-interceptors] [ajax.protocols...
> We'll replace the http client side that uses Aleph with another lib. Which lib did you choose in the end?
I wonder about it too now since in a new project my custom REPL setup is not in `user` ns, but in `repl.user`.
I think I've come up with a solution by replacing `rebel-readline.main` with a custom ns. It allows passing `init-ns` as a CLI argument. See https://gist.github.com/metametadata/c11044a5d490eac7158ae535c10ce45c. The relevant lines: ```clj (defn...
I've wrapped up the aforementioned workaround into the script: https://gist.github.com/metametadata/c11044a5d490eac7158ae535c10ce45c.
Also see https://github.com/Provisdom/defn-spec
Yes. ``` $ time clj -Sdeps '{:deps {nrepl {:mvn/version "0.9.0-beta1"}}}' -e "(do (require 'nrepl.server) (prn :hi))" :hi clj -Sdeps '{:deps {nrepl {:mvn/version "0.9.0-beta1"}}}' -e 5.38s user 0.40s system 9% cpu...