On Wed, Jul 10, 2013 at 12:51 PM, Pierre Allix
wrote:
> [snip]
>
b) there was a proposal to implement a reader macro with a pipe notation ( e.g.
> #|symbol with whitespace|) as in Common Lisp.
> This would allow to read back symbols which don't follow the naming rules.
>
Just a nit: this isn't ex
On Wed, Aug 14, 2013 at 12:08 PM, Chris Ford wrote:
> Two obviously. It's the only compromise between those who want everything
> to be a prime number, and those who want everything to be a power of two.
>
I used to sometimes use 3 spaces, just to be a contrarian. Then I learned
the error of my
Can we please stop feeding the troll? Thanks.
--
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.
To u
On Saturday, October 17, 2009 11:42:28 PM UTC-4, mbrodersen wrote:
> It would be great to have while-let in contrib. Then I don't have to
> maintain let-while myself :-)
I'm reviving this ancient thread because of core.async. This seems like
just the thing for the common pattern of looping over
(And for context, here is Christophe's 'while-let' from 2009):
(defmacro while-let
"Makes it easy to continue processing an expression as long as it is true"
[binding & forms]
`(loop []
(when-let ~binding
~@forms
(recur
On Wed, Mar
On Wed, Apr 16, 2014 at 12:06 PM, Massimiliano Tomassoli wrote:
> Thank you both for the warm welcome!
> Right now I'm reading "Clojure for the Brave and True". I'm not new to
> functional programming, but I'm not familiar with LISPy languages.
> I can see the value of having such a regular synta
Why not just,
(reduce + (filter even? nuns))
?
That's a simple enough form I wouldn't bother with the line breaks.
On Tue, Dec 10, 2013 at 9:24 PM, Plínio Balduino wrote:
> Hi there
>
> What is the ideal way to format Clojure code? I'm following Batsov's Style
> Guide but, in some moments, it
Well played.
On Mon, Apr 1, 2013 at 10:28 AM, Michael Klishin <
michael.s.klis...@gmail.com> wrote:
> Introducing Clochure: a better Clojure.
>
> Quoting project's README:
>
> Clochure (http://clochure.org) is an educated attempt to solve Clojure's
> number one problem and first obstacle that pu
On Sat, Apr 21, 2012 at 6:20 AM, David Jagoe wrote:
> Can anybody tell me whether wkhtmltopdf or flying-saucer deal with
> pagination properly? I've been templating TeX to get properly laid out
> tables broken over multiple pages. But of course I'd much rather just
> generate the PDFs from the HTM
On Sun, Apr 22, 2012 at 3:33 AM, David Jagoe wrote:
> On 21 April 2012 14:41, Dan Cross wrote:
>> On Sat, Apr 21, 2012 at 6:20 AM, David Jagoe wrote:
>> > Can anybody tell me whether wkhtmltopdf or flying-saucer deal with
>> > pagination properly? I've been tem
On Tue, May 15, 2012 at 3:26 PM, Aaron Cohen wrote:
> Does the principle of least surprise suggest that multiple bindings be
> combined with AND or OR?
My own personal opinion is that it makes sense in combination with 'and',
but others may feel differently. E.g.,
(when-let [a (allocate-t
On Tue, May 15, 2012 at 3:47 PM, Walter Tetzner
wrote:
> On Tuesday, May 15, 2012 3:41:58 PM UTC-4, Dan Cross wrote:
>> My own personal opinion is that it makes sense in combination with 'and',
>> but others may feel differently. E.g.,
>>
>> (when-let [a
On Wed, May 16, 2012 at 9:16 AM, Aaron Cohen wrote:
> On Wed, May 16, 2012 at 9:10 AM, Walter Tetzner
> wrote:
>> To make the bindings work like let, where later bindings can see previous
>> bindings, I think the most natural way to do it is to have the bindings
>> behave like the maybe monad.
>
13 matches
Mail list logo