Re: advantage of dynamic typing

2011-09-19 Thread Sean Corfield
On Mon, Sep 19, 2011 at 4:19 PM, Dennis Haupt wrote: > an advantage i see is very, very concise code since you have no type > annotations at all. the downside is that exactly this code might be > unreadable - because you just have no idea what it uses and what it > does without tests or documentat

Re: Fund raising's goal has been reached !

2011-09-19 Thread Sean Corfield
Excellent! See you at the Conj! On Mon, Sep 19, 2011 at 6:49 AM, Laurent PETIT wrote: > I'm happy to inform you that the appeal I've started previous week, for > sending me to the conj, has been a success! > > I'm very grateful to all the donors who've contributed to make this dream > possible!

Re: Is there a reason that def- isn't part of the core lib?

2011-09-19 Thread Stephen Compall
On Sun, 2011-09-18 at 13:10 -0400, Stuart Halloway wrote: > This is a good question. I don't know why I never noticed [update's] > absence. Have other people missed this? I would say about half the calls to update-in I've written took literal vectors with one expression in them. Including the two

Re: advantage of dynamic typing

2011-09-19 Thread Raoul Duke
On Mon, Sep 19, 2011 at 2:19 PM, Dennis Haupt wrote: > what else is there? is it worth sacrificing type safety? and is there > no way to combine both? check out Dialyzer for Erlang. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this gro

advantage of dynamic typing

2011-09-19 Thread Dennis Haupt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi community, clojure is dynamically typed, so i thought here i might find some good reasons for that. what can you do if you sacrifice compile time type safety? an advantage i see is very, very concise code since you have no type annotations at all.

Re: Fund raising's goal has been reached !

2011-09-19 Thread Mark
I just gave so hopefully you have enough for a decent dinner while you're there! Enjoy and thanks for your work. -- 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 m

Re: Clojure embedded in a Java Application

2011-09-19 Thread Armando Blancas
> You can also do it the other way around, use gen-class > and write yourself a static entry point callable from Java. That's the right way to do it, IMO. Better yet, write a Java wrapper to offer Javadocs and to hide any interop code. That means extra work on both ends, but in Java shops Clojure-

Re: Clojure embedded in a Java Application

2011-09-19 Thread Laurent PETIT
2011/9/19 Meikel Brandmeyer (kotarak) > Hi, > > It was recommended in the past to go through the clojure side of things. > That means for me to call hash-map rather than RT.map. By creating a small > helper class one can get one's own Clj.map while still going through the > official API as recomm

Re: Language shoutout clojure code does not have types

2011-09-19 Thread Isaac Gouy
On Sep 19, 5:56 am, Ken Wesson wrote: > On Sun, Sep 18, 2011 at 11:20 AM, Andy Fingerhut > > wrote: > > One more detail. The Scala program, and I think all of the fastest programs > > for that problem, use the GNU GMP library for big integer arithmetic. > > If that's true, then it indicates that

Re: Casting numbers to ints

2011-09-19 Thread Justin Kramer
Here's a fleshed-out version that tests for any type of primitive: (definterface IPrimitiveTester (getType [^int x]) (getType [^long x]) (getType [^float x]) (getType [^double x]) (getType [^byte x]) (getType [^short x]) (getType [^char x]) (getType [^boolean x]) (getType [^Objec

How to attach debugger on clojure's repl ?

2011-09-19 Thread cran1988
I am looking forward for a debugger like in CLISP , SBCL etc.. Is there any solution out there ? Are you going to develop such a tool and you need help ? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@goog

Re: Is there a reason that def- isn't part of the core lib?

2011-09-19 Thread Geoff Wilson
Wouldn't a set of standard entries in a lein project file be sufficient for a beginner? I’m not sure that Clojure needs something as packaged as the Haskell Platform (http://hackage.haskell.org/platform/), and it certainly should not be part of core. On 19/09/2011, at 4:33 PM, Stuart Hallowa

Re: Is there a reason that def- isn't part of the core lib?

2011-09-19 Thread Stuart Halloway
> I also think it is worth remembering the difficulty people have with getting > started with Clojure (wrt to IDEs). There are *so* many third party > libraries out there at the moment that a beginner could easily be > overwhelmed. The more self contained and feature complete the core is the

Re: Fund raising's goal has been reached !

2011-09-19 Thread Ambrose Bonnaire-Sergeant
Excellent news! Ambrose -- 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 unsubscribe from this g

How does clojure class reloading work?

2011-09-19 Thread Brent Millare
(Note: I've copied my question from stackoverflow to get more looks in case there are people in here that are not on stack. http://stackoverflow.com/questions/7471316/how-does-clojure-class-reloading-work I will sync the good answers) I've been reading code and documentation to try to understand h

Re: Is there a reason that def- isn't part of the core lib?

2011-09-19 Thread Colin Yates
I also think it is worth remembering the difficulty people have with getting started with Clojure (wrt to IDEs). There are *so* many third party libraries out there at the moment that a beginner could easily be overwhelmed. The more self contained and feature complete the core is the better. Fin

Re: Language shoutout clojure code does not have types

2011-09-19 Thread Ken Wesson
On Sun, Sep 18, 2011 at 11:20 AM, Andy Fingerhut wrote: > One more detail.  The Scala program, and I think all of the fastest programs > for that problem, use the GNU GMP library for big integer arithmetic. If that's true, then it indicates that the Java BigInteger class is less than maximally ef

Re: Is there a reason that def- isn't part of the core lib?

2011-09-19 Thread Ken Wesson
On Sun, Sep 18, 2011 at 6:12 PM, Luc Prefontaine wrote: > And yes, defn- should be located elsewhere than in core. +1 for moving it > out of core, at least, defn- should not be make publicly available by core. I'm of more or less the opposite appearance: anything that core itself uses, and that t

Re: Fund raising's goal has been reached !

2011-09-19 Thread Meikel Brandmeyer (kotarak)
Congrats, Laurent! Have fun at the conj! :D -- 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 uns

Fund raising's goal has been reached !

2011-09-19 Thread Laurent PETIT
Hello, I'm happy to inform you that the appeal I've started previous week, for sending me to the conj, has been a success! I'm very grateful to all the donors who've contributed to make this dream possible! More detail here: http://code.google.com/p/counterclockwise/wiki/ConjTripFunding Thank y

JavaOne 2011 videos

2011-09-19 Thread cran1988
http://vimeo.com/tag:javazone2011/page:0/sort:newest I am not sure if all the clojure videos are there. But for sure have plenty videos about scala. Dont worry ... clojurians will rise up and control the market , next year! -- You received this message because you are subscribed to the Google Gr

Re: Clojure embedded in a Java Application

2011-09-19 Thread Meikel Brandmeyer (kotarak)
Hi, It was recommended in the past to go through the clojure side of things. That means for me to call hash-map rather than RT.map. By creating a small helper class one can get one's own Clj.map while still going through the official API as recommended. Hence I didn't mention RT.map. Sincerely