Re: N00B Question -- Trying to understand Interfaces

2008-11-05 Thread Meikel Brandmeyer
Hi, Am 05.11.2008 um 17:33 schrieb Peter Wolf: Also I haven't found the right document/screencast that talks about this. Can someone give me a pointer. A bit long, but ...: http://blip.tv/file/734409 Sincerely Meikel smime.p7s Description: S/MIME cryptographic signature

Re: N00B Question -- Trying to understand Interfaces

2008-11-05 Thread Peter Wolf
Ah thank you, now I am un-stuck. ISeq really only exists for Java interop right? You don't really implement new sequence data types, rather you combine things like ITERATE and MAPCAT with your own functions to define your own sequences. Is it correct to say that sequences are not really a typ

Re: N00B Question -- Trying to understand Interfaces

2008-11-05 Thread Stuart Halloway
Hi Peter, For the sequence of positive integers: (iterate inc 1) Take a look at the lazy-seqs library in Clojure-Contrib for some more interesting lazy sequences. Cheers, Stuart > Hello all, I am just about to write my first Clojure code to teach > myself the language. > > I thought I might

N00B Question -- Trying to understand Interfaces

2008-11-05 Thread Peter Wolf
Hello all, I am just about to write my first Clojure code to teach myself the language. I thought I might try Bulls&Cows aka Mastermind. This is the game where one player hides a pattern of colors, the other guesses a pattern, and the first says something like "1 correct color in the right pl