Re: Bulat's comments
1) adding OO-like features in O'Haskell style. for readers that don't
know it's about adding new variants to ADT types:
type Figure = Circle ...
type Figure |= Box ...
With ADTs you do pattern match on the constructor,
but in OO style guides (see Fowler: Refactoring)
Bulat Ziganshin wrote:
JW interface Figure
JW class Circle implements Figure
JW class Box implements Figure
this don't give ability to create polymorphic collections
You mean in Haskell? I would probably use existential types then.
Something like data EFigure = forall f . Figure f =
On Tue, 28 Jun 2005, Bulat Ziganshin wrote:
you are completely skipped the point that these is just for C++
programmers wanting to program in Haskell and aimed to give them
faster learning path and easy to use instruments
Not to forget to make learning easier for programmers of Perl, Ruby,
you are completely skipped the point that these is just for C++
programmers wanting to program in Haskell and aimed to give them
faster learning path and easy to use instruments
Not to forget to make learning easier for programmers of Perl, Ruby,
Python, Rexx, Tcl, APL, C#, Java, Bash,
On Tue, 28 Jun 2005, robert dockins wrote:
you are completely skipped the point that these is just for C++
programmers wanting to program in Haskell and aimed to give them
faster learning path and easy to use instruments
Not to forget to make learning easier for programmers of Perl, Ruby,