Re: What would you use a #[] data literal for?

2013-01-01 Thread Jozef Wagner
Yes I have patched destructuring, http://goo.gl/Xc23p , and I use #[] for both tuple creation and destructuring, see example in my earlier message. Type hinting could be a nicer solution, I've never thought of it. Will try. JW On Tuesday, January 1, 2013 1:40:50 AM UTC+1, Brandon Bloom wrote:

Re: Digest for clojure@googlegroups.com - 25 Messages in 11 Topics

2013-01-01 Thread Ghislain Hachey
On 12/31/2012 04:52 AM, clojure@googlegroups.com wrote: 2) Is there a good way of doing this with nested maps? An example: { :user { :first John :last Doe :dob { :month 12 :day 30 :year 2012 :garbage asdf } } } I would want to make sure :dob only contains keys :month, :day, :year. Hi there,

Re: limit keys from client JSON (select-keys but nested?)

2013-01-01 Thread Ghislain Hachey
On Monday, December 31, 2012 3:13:42 AM UTC+11, Huey Petersen wrote: 2) Is there a good way of doing this with nested maps? An example: { :user { :first John :last Doe :dob { :month 12 :day 30 :year 2012 :garbage asdf } } } I would want to make sure :dob only contains keys :month,

Re: limit keys from client JSON (select-keys but nested?)

2013-01-01 Thread Carlo Zancanaro
2) Is there a good way of doing this with nested maps? An example: { :user { :first John :last Doe :dob { :month 12 :day 30 :year 2012 :garbage asdf } } } I would want to make sure :dob only contains keys :month, :day, :year. I'd write a simple little helper function to do this, if I were

Re: Auto-indentation not working with clojure-mode 2.0.0

2013-01-01 Thread Paul Stadig
This was an intentional change. https://github.com/technomancy/clojure-mode/pull/89 On Jan 1, 4:15 am, Richard Elliott richard.ellio...@googlemail.com wrote: I've just installed emacs and clojure-mode on a new machine. Out of the box auto-indentation did not work for me. I noticed that in the

Re: Auto-indentation not working with clojure-mode 2.0.0

2013-01-01 Thread Baishampayan Ghose
The right key-binding for newline-and-indent is C-j. The current behaviour is correct wrt Emacs key-binding semantics. ~BG Sent from phone. Please excuse brevity. On 1 Jan 2013 15:25, Richard Elliott richard.ellio...@googlemail.com wrote: I've just installed emacs and clojure-mode on a new

Belgian Clojure base meetup?

2013-01-01 Thread Wim De Clercq
Hi Thomas, A small meet-up to get started would be nice. I'm from Mechelen. If you want, I can help with organizing it. Wim -- 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

Re: ClojureCLR 1.5.0 RC 1

2013-01-01 Thread dmiller
A casualty of github deprecating downloads. The Download button is gone, but the binary downloads are still available for a short while longer at https://github.com/clojure/clojure-clr/downloads I've updated the wiki page. I have not tried Robert's instructions yet. From what I can tell,

Re: limit keys from client JSON (select-keys but nested?)

2013-01-01 Thread Stuart Sierra
data.json 0.2.x allows transformation functions to be applied to data as it is read in. http://clojure.github.com/data.json/#clojure.data.json/read -S -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: Auto-indentation not working with clojure-mode 2.0.0

2013-01-01 Thread Richard Elliott
Understood. Thanks guys. On Tuesday, January 1, 2013 9:15:56 AM UTC, Richard Elliott wrote: I've just installed emacs and clojure-mode on a new machine. Out of the box auto-indentation did not work for me. I noticed that in the latest release of clojure-mode.el the RET keybinding has been

ANN: core.logic 0.8.0-beta5, Hello CLP(Nom)!

2013-01-01 Thread David Nolen
Hot on the heels of beta4, we have beta5. It fixes an annoying bug around the `=fd` constraint discovered by Gary Fredericks. However the biggest change is the inclusion of an entirely new constraint domain - Nominal Abstract Syntax. This exciting addition is thanks to the awesome work of Nada

Re: ClojureCLR 1.5.0 RC 1

2013-01-01 Thread dmiller
Ah, yes, I cannot upload new binary distributions. Building from souce on *nix/Mono can be done with nuget. It's of pain approximately equal to what Robert wrote. I just tried the following 1. Clone the repo or pull down the zip of the 1.5RC1 tag from

Re: ClojureCLR 1.5.0 RC 1

2013-01-01 Thread Limbo Peng
On 01/01, dmiller wrote: Building from souce on *nix/Mono can be done with nuget. It's of pain approximately equal to what Robert wrote. I just tried the following Looks great! At least it can be compiled successfully somehow :) And maybe this can be done automatically (with some help

Re: ANN: core.logic 0.8.0-beta5, Hello CLP(Nom)!

2013-01-01 Thread Alex Miller
Speaking of core.logic and totally hijacking this thread Fogus has been prodding me to do a miniKanren Confo during Clojure/West. We are running a poll for feedback (http://bit.ly/12T37ez) and would be happy to get more if you have some. Both Byrd and Friedman seem interested in

Re: Clojure 1.5.0 RC 1

2013-01-01 Thread Brandon Bloom
Please test it. I just tried it out and was really bummed to discover that http://dev.clojure.org/jira/browse/CLJ-873 was not merged. That's the clojure.core// division symbol issue. It's a pretty straightforward patch that fixes a real problem for ClojureScript and a few other random

Re: Clarification on setting up Clojure, Lein and Emacs on fedora

2013-01-01 Thread Omer Iqbal
Or you could try this: https://github.com/overtone/emacs-live Contains a very good emacs conf that works out of the box. On Sunday, December 30, 2012 4:47:21 AM UTC+5, Sayth Renshaw wrote: Just want to make sure I get this right. I am running F18 and am setting up clojure. These would be