We've still got some empty seats for this upcoming session (April
14-15), and we've extended the $50-off discount code (CLJ50) until
this Friday, March 18.
If you're already doing Clojure professionally, it's possible you
wouldn't see enough benefit from this course to justify it, but maybe
you ha
Forgive me if I'm misunderstanding, but you don't need to import a
protocol to use it. If you need to actually get ahold of the protocol
(say, to implement another deftype/defrecord), you can just use
`require` or `use` to get ahold of it:
(ns stuff
(:use [com.example-ns :only [IFoo])
I can't speak for Rich, but your suggestion would mean an additional
if statement being executed every time you call +. Not sure if
Hotspot (or other JVMs) would compile that away or not...
Colin
On Jan 13, 3:31 pm, RJ Nowling wrote:
> Hi all,
>
> I've been reading about the changes to Clojure
On Dec 1, 3:33 pm, Ken Wesson wrote:
> On Wed, Dec 1, 2010 at 9:38 AM, Laurent PETIT wrote:
> > 2010/12/1 Ken Wesson
>
> >> On Wed, Dec 1, 2010 at 8:29 AM, Laurent PETIT
> >> wrote:
> >> > If so, then it may be sufficient to leverage the possibility, in your
> >> > testing "framework" (clojure.
rks, but I'd be happy to update the ticket myself if I were
able.
Colin Jones
@trptcolin
On Jun 3, 9:58 am, Stuart Halloway wrote:
> Hi all,
>
> I am trying to close out important tickets prior to the 1.2 beta release. If
> you have submitted a ticket that you think is important,
Aviad,
Nice job! One nitpick is that won't work for infinite sequences,
since reduce isn't lazy. If you wanted your definitions to work for
arbitrary indexes of infinite sequences (like the Fibonacci numbers),
you could provide sequences providing successive results for the input
sequences.
I d