ne 23, 2005 12:42 AM
> To: haskell@haskell.org
> Subject: Re: Re[2]: [Haskell] Dynamic binding
>
> G'day all.
>
> Thursday, June 23, 2005, 5:38:03 AM, you wrote:
>
> > To handle the problem of drawing all shapes, in c++, I would have a
list
> > of
G'day all.
Thursday, June 23, 2005, 5:38:03 AM, you wrote:
> To handle the problem of drawing all shapes, in c++, I would have a list
> of shape pointers:
> struct shape{ virtual void draw(...);};
> struct circle : public shape {...};
> struct square : public shape {...};
> std::list shapes;
> f
Kristian Engstad; haskell@haskell.org
> Subject: Re[2]: [Haskell] Dynamic binding
>
> Hello Andrew,
>
> Thursday, June 23, 2005, 5:38:03 AM, you wrote:
>
> AW> To handle the problem of drawing all shapes, in c++, I would have
a
> list
> AW> of shape pointers:
>
>
Hello Andrew,
Thursday, June 23, 2005, 5:38:03 AM, you wrote:
AW> To handle the problem of drawing all shapes, in c++, I would have a list
AW> of shape pointers:
AW> struct shape{ virtual void draw(...);};
AW> struct circle : public shape {...};
AW> struct square : public shape {...};
AW> std::l