On Mar 8, 6:20 am, Meikel Brandmeyer wrote:
> Hello Name-cousin, :)
Woohoo!
> Am 08.03.2009 um 08:10 schrieb mikel:
>
> > Now suppose I want to create some new objects that have all of those
> > advantages, but the interfaces that I want them to conform to don't
> > yet exist. How do I supply
Hello Name-cousin, :)
Am 08.03.2009 um 08:10 schrieb mikel:
Now suppose I want to create some new objects that have all of those
advantages, but the interfaces that I want them to conform to don't
yet exist. How do I supply them? As far as I know, I have to write
Java code. I'd rather write Clo
On 08.03.2009, at 00:14, mikel wrote:
> You can do a lot of that in Clojure, too, but, unless I'm mistaken,
> there are some arbitrary limits as things stand right now. I don't
> know of a way in Clojure to define an interface; as far as I know, if
Multimethods can be used very well to define in
On Mar 7, 5:43 pm, James Reeves wrote:
> The nearest equivalent to Haskell type classes in Clojure are
> multimethods, but as Clojure is a dynamically typed language, the
> compiler does not enforce the 'interface' defined by the multimethods.
>
> In Clojure, I can't think of any way you could
The nearest equivalent to Haskell type classes in Clojure are
multimethods, but as Clojure is a dynamically typed language, the
compiler does not enforce the 'interface' defined by the multimethods.
In Clojure, I can't think of any way you could enforce such a contract
at compile time. Clojure is