Nice work! I've been using Grimoire all day :)
Two small suggestions, which you have probably thought of: (1) search (2)
a copy of the clojure cheat sheet that points to grimoire instead. (Maybe
Grimoire needs it's own domain?)
CrossClj is *awesome* as well. I've been wanting something similar f
I'm delighted to announce that thanks to the official Clojuredocs client
(https://github.com/dakrone/clojuredocs-client) Grimoire now features
every example posted on Clojuredocs.
Ex.
http://www.arrdem.com/grimoire/1.6.0/clojure.core/DASH__GT__GT/#example-0
Currently at 0.0.13, which represents a
yes, that is exactly my issue. i am trying to get the lazy sequence fully
realized as you say, but it's not happening in the context i put it in.
On Monday, July 7, 2014 6:04:00 PM UTC-7, Daniel Compton wrote:
>
> Hi Glen
>
> One thing to keep in mind with lazy sequences is that running them at
I will add some examples which deal specifically with Om.
I first tried to use cljx to write a clj/cljs library, but the api (through
Firebase's libraries) looked somewhat different for javascript and java. Its
still in the things to do though, I will open ticket to get that in.
Cheers.
On Ju
Hi Glen
One thing to keep in mind with lazy sequences is that running them at the
REPL will force them to be fully realised, whereas a lazy sequence may not
be realised in other contexts. I didn't understand where 'clojure-lazy-seq'
is coming from in your question so I'm not sure if that's your is
Thanks for posting it. I will give it a try. It would be nice to see
example with Om integration.
I saw that you mentioned it in Readme.
Do you think it would be possible to have version of library that would
work in both Clojure and ClojureScript?
On Sunday, July 6, 2014 7:10:19 PM UTC-7, Uday
I have, and I spent a little bit playing with extending my build script
to scrape their API, however it wasn't dead easy so I haven't thrown a
whole lot more time at it. An issue I'm running into is that the build
clojure program can't tell if there are examples for a given symbol and
clobbers the
Hey Reid,
Nice work! I think this is a much more maintainable approach for a
community-based examples repository. Have you thought about seeding
examples from clojuredocs using their api
e.g. http://api.clojuredocs.org/examples/1.3.0/clojure.core/map? I think
this would help if the goal is to
my-fn takes a number and a string as argument and outputs a string. I am
using map-indexed and my-fn to comprehend a list of items with numbered
index as follows,
(map-indexed (fn [idx itm] (my-fn idx itm)) '(list-of-crap))
When i run this on the repl everything works well and I get a si
Answering myself, the solution has been to do a (use 'mw-engine.utils) in
the immediate evaluation environment - just in the same file isn't enough.
So I've written a function
(defn compile-rule
"Parse this `rule-text`, a string conforming to the grammar of MicroWorld
rules,
into Clojure
Sean,
Thanks for the input. There is a good chance you are right. The process
is launched from tmuxinator a tool that opens multiple processes and joins
them all to a tmux session.
I suppose I'll have to investigate that but it seems odd that if I type
"echo $MY_VAR" I get the expected value
(! 540)-> export MY_VAR=foo
Mon Jul 07 12:26:01
(sean)-(jobs:0)-(~/clojure)
(! 541)-> lein repl
nREPL server started on port 56747 on host 127.0.0.1 - nrepl://127.0.0.1:56747
REPL-y 0.3.1
Clojure 1.6.0
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source fu
Yep I ran
export MY_VAR=foo
and all subsequent "calls" to get or print the env var on the CLI work fine.
I set the var and restarted all repl processes.
I'll try setting it in .bashrc as well.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To pos
And did you test this by setting it from .bashrc ?
> If I call:
>
> (System/getenv "MY_VAR") ;=> nil
>
> From bash
>
> set | grep MY_VAR ;=> foo
>
> echo $MY_VAR' ;=> foo
>
> I can do this from bash, as well as my tmux session. I use tmuxinator to
> launch a repl and vim, thus my repl pro
I assume you did
export MY_VAR
before starting you REPL ?
Luc P.
> If I call:
>
> (System/getenv "MY_VAR") ;=> nil
>
> From bash
>
> set | grep MY_VAR ;=> foo
>
> echo $MY_VAR' ;=> foo
>
> I can do this from bash, as well as my tmux session. I use tmuxinator to
> launch a repl and vim,
You probably need to export your var:
http://stackoverflow.com/questions/1158091/defining-a-variable-with-or-without-export
--
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 f
If I call:
(System/getenv "MY_VAR") ;=> nil
>From bash
set | grep MY_VAR ;=> foo
echo $MY_VAR' ;=> foo
I can do this from bash, as well as my tmux session. I use tmuxinator to
launch a repl and vim, thus my repl process is running inside TMUX. That
said, I can see the env var in other tmu
Announcing Funcgo (Functional Go), a new language with a Go-like syntax
that compiles to Clojure.
See https://github.com/eobrain/funcgo
As a teaser, here is an example of some code:
func sumSquares(vec) {
loop(accum=0, v=vec) {
if isEmpty(v) {
18 matches
Mail list logo