Clojure lazy sequences aren't required to be strictly lazy. Items can be
computed in batches (chunks).
It depends whether you source seq is chunked or not and whether your seq fns
are chunk-aware or not.
#'range produces a chunked seq. See (chunked-seq? (seq (range 42))).
That's most certainly wh
Hello.
I found that the namespace docstring of clojure.contrib.math (in <=
1.2 place. What it will be named in modular contrib?) seems broken
because quotation marks around the word "remainder" are not escaped.
Incidentally, comments before ns macro may be able to be simplified:
most of them are
On May 21, 1:28 pm, Simon Katz wrote:
> I'm having trouble using Emacs' Find Source command to navigate to
> Clojure source.
>
> I'm using Leiningen (1.4.2) and Emacs (23.2).
> I thought this would be enough to allow the Emacs Find Source command
> (meta-.) to find Clojure source code. But when,
On May 20, 8:08 pm, Vincent wrote:
> i downloaded lein 1.5.2. ... it does not include clojure.contrib in
> project.clj when creating a new project.
> how to do it? Where is detailed documentation for lein?
>
> How to know latest version of vairous libs to include in include in lein
> project.cl
On May 21, 2011, at 6:47 PM, mike.w.me...@gmail.com wrote:
> This is a *different* problem than the one being solved, which is getting an
> accurate representation of the structure of the code. In particular, it's
> different enough that I don't think it makes the required list for a minimal
>
Thanks Benny! That was the problem and the new simplified setup
just worked for me. -t
On May 21, 5:51 pm, Benny Tsai wrote:
> You can grab it here:
>
> https://github.com/technomancy/clojure-mode
>
> On Saturday, May 21, 2011 6:41:18 PM UTC-6, Tom Hicks wrote:
>
> > Where does one get clojure-m
You can grab it here:
https://github.com/technomancy/clojure-mode
On Saturday, May 21, 2011 6:41:18 PM UTC-6, Tom Hicks wrote:
>
> Where does one get clojure-mode 1.9.1? The latest I see on github is
> 1.7.1.
>
> On May 20, 4:06 pm, Phil Hagelberg wrote:
> > On May 19, 11:15 pm, Tassilo Horn
A project.clj with clojure.contrib:
(defproject foo "1.0.0-SNAPSHOT"
:description "FIXME: write description"
:dependencies [[org.clojure/clojure "1.2.1"]
[org.clojure/clojure-contrib "1.2.0"]])
To find libraries, search http://clojars.org
Documentation for lein is in
Where does one get clojure-mode 1.9.1? The latest I see on github is
1.7.1.
On May 20, 4:06 pm, Phil Hagelberg wrote:
> On May 19, 11:15 pm, Tassilo Horn wrote:
>
> > Do I get you right that the output is the problem that prevents me to
> > get to the SLIME REPL, since you didn't say anything at
Lee Spector wrote:
>If I understand correctly you're suggesting that a user working with an
>editor and a REPL, which aren't connected
That being the mimimal configuration that I think of as "useabe".
> , run something in the REPL to see the structure of the code.
>Not un-useful, but of course t
On May 21, 2011, at 5:43 PM, mike.w.me...@gmail.com wrote:
>
> I agree that having to cut & paste code to get a pretty printed version isn't
> useable - which is why I didn't suggest that. I suggested a function that
> would take a file name and pretty print the contents as code, which is as
Lee Spector wrote:
>On May 21, 2011, at 4:47 PM, mike.w.me...@gmail.com wrote:
>> So, instead of having an editor command region/function reindent to
>show the actual structure of the code, maybe you need to switch to a
>repl and run (indent-code "myfile.clj") to see what the structure
>really is.
On May 21, 2011, at 4:47 PM, mike.w.me...@gmail.com wrote:
> Lee Spector wrote:
> >The reason that I think that this re-indenting feature is so important [etc]
>
> This is an important feature, and I had overlooked it - but does it have to
> be available in the editor? Remember, the goal is a "
Lee Spector wrote:
>On May 20, 2011, at 3:30 PM, David Nolen wrote:
>> Ah I thought you were talking about proper automatic indentation as
>you enter in code not selective *re-indentation*. As far as I can tell
>in the existing Clojure tools there are only varying degrees of
>interpretation as to
Thanks for the report. It's already fixed on Clojure master. -S
On Saturday, May 21, 2011 2:58:54 PM UTC-4, Tom Hicks wrote:
>
> But note that Larry's extra quote came directly from the
> documentation page he links to.
--
You received this message because you are subscribed to the Google
Grou
I'm having trouble using Emacs' Find Source command to navigate to
Clojure source.
I'm using Leiningen (1.4.2) and Emacs (23.2).
I have a project.clj file with the following:
(defproject sk-mini-project-1-2-0 "0.0.1-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.2.0"]
[org.c
But note that Larry's extra quote came directly from the
documentation page he links to.
On May 21, 8:56 am, David Nolen wrote:
> On Sat, May 21, 2011 at 11:46 AM, larry wrote:
> > Let's say you're a new user and you want to split a string on a
> > delimiter in clojure.
>
> > Okay, I google
just watched the video: http://vimeo.com/23932914
looks awesome!
On May 11, 8:31 am, "Hugo Duncan" wrote:
> For the intrepid, the first release of swank-clj is out.
>
> This is a refactored swank-clojure, and features sldb integration.
>
> Some highlights:
>
> * line based breakpoints
> * steppi
Great - and many thanks for the nice data structure!
--
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 moderated - please be patient with your
first post
On Sat, May 21, 2011 at 11:56 AM, David Nolen wrote:
> On Sat, May 21, 2011 at 11:46 AM, larry wrote:
>
>> Let's say you're a new user and you want to split a string on a
>> delimiter in clojure.
>>
>> Okay, I google "string split" in clojure.
>> I find this at http://clojure.github.com/clojur
On Sat, May 21, 2011 at 11:46 AM, larry wrote:
> Let's say you're a new user and you want to split a string on a
> delimiter in clojure.
>
> Okay, I google "string split" in clojure.
> I find this at http://clojure.github.com/clojure/clojure.string-api.html
>
> (ns your.namespace.here
> (:req
Let's say you're a new user and you want to split a string on a
delimiter in clojure.
Okay, I google "string split" in clojure.
I find this at http://clojure.github.com/clojure/clojure.string-api.html
(ns your.namespace.here
(:require '[clojure.string :as str]))
and see there is a "split" f
22 matches
Mail list logo