Re: anybody here who use emacs to edit closure? is emacs lisp a good starting point to learn closure?

2015-04-04 Thread Laurent PETIT
Please also note that Counterclockwise, the Eclipse plugin for Clojure, also comes with all all-inclusive zip archive which makes you as easy to start creating a new project as "Download / Unzip / Start": http://doc.ccw-ide.org/documentation.html#install-as-standalone-product 2015-04-04 3:54 GMT+

Re: anybody here who use emacs to edit closure? is emacs lisp a good starting point to learn closure?

2015-04-04 Thread Bozhidar Batsov
Ops, I meant to say CCW, not CCC. :-) On 4 April 2015 at 10:43, Laurent PETIT wrote: > Please also note that Counterclockwise, the Eclipse plugin for Clojure, > also comes with all all-inclusive zip archive which makes you as easy to > start creating a new project as "Download / Unzip / Start":

Re: anybody here who use emacs to edit closure? is emacs lisp a good starting point to learn closure?

2015-04-04 Thread Tj Gabbour
Hi! This highly depends on what’s most effective for you. If I were your tutor [1], I’d hear “but i wanna to start from emacs and emacs lisp,” and take that as a strong indicator that this path (first exploring Emacs) might be effective for you. Useful to probe more deeply into two threads: y

[ANN] Baum - Extensible EDSL in EDN for configuration files

2015-04-04 Thread Ryo Fukumuro
Hi all, I'd like to announce the release of Baum. https://github.com/rkworks/baum Baum, my first public library for Clojure, is designed to create "self-contained" configuration files. It allows you to include the following things in your configuration files: - References to external files -

Re: anybody here who use emacs to edit closure? is emacs lisp a good starting point to learn closure?

2015-04-04 Thread Tj Gabbour
Oh, and I'd try to figure out if this theory has any merit: do things like paredit and yasnippet help you intuitively think in terms of manipulating structure rather than text? Because in Clojure, you're constantly transforming and pushing around units of data. On Saturday, April 4, 2015 at 11:

Re: I put a site with usable JavaDoc for Clojure.

2015-04-04 Thread Ivan Pierre
Finished... from version 1.0 to 1.7.0-alpha6. -- 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 un

lein checkout dependencies with cljx project

2015-04-04 Thread Colin Yates
Hi, I have a common library which I want to use in both Clojure and ClojureScript. The project uses cljx and works a treat and the generated clj and cljs are available to use alongside the hard coded clj and cljs. However, when I add that project (after doing the initial lein install) to the

Re: [ANN] Clojure 1.7.0-alpha6 released

2015-04-04 Thread Ian Rumford
Hi Alex, All, An observation really. I've just noticed that a literal map e.g. (def m {:a 1 :b 2 :c 3}) in alpha6 is an array map not hash map. In 1.6.0 and 1.7.0-alpha5 its a hash map. Couldn't find any obvious statement in the release notes but interested in the background to the change.

How to coerce to bigint ?

2015-04-04 Thread Paul Roush
I have 2 questions related to bigints. 1) I've read things suggesting Clojure auto-converts between int, long, and bigint to prevent overflow. That isn't the behavior I've experienced. Did something change from an older release of Clojure to more recent ones? 2) I found myself wanting to writ

Re: How to coerce to bigint ?

2015-04-04 Thread Andy Fingerhut
On Sat, Apr 4, 2015 at 8:52 AM, Paul Roush wrote: > I have 2 questions related to bigints. > > 1) I've read things suggesting Clojure auto-converts between int, long, > and bigint to prevent overflow. That isn't the behavior I've experienced. > Did something change from an older release of Cloju

Re: How to coerce to bigint ?

2015-04-04 Thread Paul Roush
On Saturday, April 4, 2015 at 12:09:36 PM UTC-4, Andy Fingerhut wrote: > > > > On Sat, Apr 4, 2015 at 8:52 AM, Paul Roush > > wrote: > >> I have 2 questions related to bigints. >> >> 1) I've read things suggesting Clojure auto-converts between int, long, >> and bigint to prevent overflow. That

Re: [ANN] Phoenix 0.1.0 - help with structuring & configuring Component-based systems

2015-04-04 Thread James Henderson
Just released 0.1.1 - bug when using Schema in Phoenix apps due to Phoenix's overly-enthusiastic AOT'ing. Thanks to @whodidthis for flagging the issue! James On Sunday, 29 March 2015 20:44:04 UTC+1, James Henderson wrote: > > A link would have been really helpful, I'm guessing! Here it is: > >

Re: How to coerce to bigint ?

2015-04-04 Thread Michael Gardner
On Sat, Apr 4, 2015 at 11:36 AM, Paul Roush wrote: > (range 5N) => (0 1 2 3 4) ; i.e. the "bigint-ness" is lost > > So in this particular case I needed to "inject" bigint into the process > later in some way. > You could try (range (* 0 n) n). A little silly, but does avoid the conditiona

Re: How to coerce to bigint ?

2015-04-04 Thread Paul Roush
On Saturday, April 4, 2015 at 1:00:46 PM UTC-4, Michael Gardner wrote: > > On Sat, Apr 4, 2015 at 11:36 AM, Paul Roush > wrote: > >> (range 5N) => (0 1 2 3 4) ; i.e. the "bigint-ness" is lost >> >> So in this particular case I needed to "inject" bigint into the process >> later in some w

[JOB] Clojure/Clojurescript Software Engineer - Startup - SF or remote

2015-04-04 Thread Stephen Brady
Hi all, We're looking for Clojure/Clojurescript engineers (details below). Please email me directly at step...@getlongitude.com if you're interested in learning more. Stephen --- Longitude is a San Francisco-based startup that is building a quick and easy way for users to create and discove

Newbie question about filtrering defrecord

2015-04-04 Thread Magnus Javerberg
Hi! I'm new to clojure, and have problem understanding how to filter a list of defrecords. I have tried different variations on the following: (defrecord Ape [fname lname]) (def a1 (->Ape "test1" "test2")) (def a2 (->Ape "test3" "test4")) (def alist '(a1 a2)) (filter #(= "test1" (:fname %)) al

Re: [ANN] Clojure 1.7.0-alpha6 released

2015-04-04 Thread Andy Fingerhut
I believe that change is due to this commit from early March 2015: https://github.com/clojure/clojure/commit/692645c73c86d12c93a97c858dc6e8b0f4280a0b Nicola Mometto had opened a ticket CLJ-1593 for this issue: http://dev.clojure.org/jira/browse/CLJ-1593 The commit did not reference the ticket, but

Re: Newbie question about filtrering defrecord

2015-04-04 Thread Luc Préfontaine
You mean the a1 record no ? > Hi! > > I'm new to clojure, and have problem understanding how to filter a list of > defrecords. > I have tried different variations on the following: > > (defrecord Ape [fname lname]) > (def a1 (->Ape "test1" "test2")) > (def a2 (->Ape "test3" "test4")) > (def a

Re: Newbie question about filtrering defrecord

2015-04-04 Thread Michael Blume
your list doesn't contain the records, your list contains the symbols 'a1 and 'a2. You can't make a list the way you're trying to. On Sat, Apr 4, 2015 at 5:14 PM Luc Préfontaine wrote: > You mean the a1 record no ? > > > > Hi! > > > > I'm new to clojure, and have problem understanding how to fil

Re: Newbie question about filtrering defrecord

2015-04-04 Thread Paul L. Snyder
On Sun, 05 Apr 2015, Michael Blume wrote: > your list doesn't contain the records, your list contains the symbols 'a1 > and 'a2. You can't make a list the way you're trying to. To be specific, you're quoting the list in your def, so the a1 and a2 symbols are not evaluated. user=> (defrecord A

[ANN] avi 0.1.6 (searching)

2015-04-04 Thread Jason Felice
In this version: * Fix for `O` on a blank line (Thanks to Anthony Garreffa!) * Command history for the `:` prompt (using ^N, ^P) * Implement `/`, `?`, `n`, `N` * Refactored to compose most of the editor in a middleware pattern avi A lively vi. Vision We lo

Re: [ANN] Clojure 1.7.0-alpha6 released

2015-04-04 Thread Alex Miller
Yes, I'll get that in the next release, I forgot to put it in there... On Saturday, April 4, 2015 at 6:45:07 PM UTC-5, Andy Fingerhut wrote: > > I believe that change is due to this commit from early March 2015: > https://github.com/clojure/clojure/commit/692645c73c86d12c93a97c858dc6e8b0f4280a0b

Re: How to coerce to bigint ?

2015-04-04 Thread Jens Bendisposto
Just for the records You can still use auto-promotion with primed operators like *', +' etc. => (* 10 100) java.lang.ArithmeticException: integer overflow => (*' 10 100) 1000N -- You received this message because you are subscribed to the