RE: Re[2]: [Haskell] Dynamic binding

2005-06-23 Thread Ralf Lammel
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

Re: Re[2]: [Haskell] Dynamic binding

2005-06-23 Thread ajb
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

RE: Re[2]: [Haskell] Dynamic binding

2005-06-23 Thread Ralf Lammel
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: > >

Re[2]: [Haskell] Dynamic binding

2005-06-23 Thread Bulat Ziganshin
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