Fergus Henderson writes: > > For that kind of thing, you should use type classes and, if need be, > existential types. Hmm. Thanks. I misunderstood what "ad hoc polymorphism" is. I thought ad hoc polymorphism in the new Haskell was accomplished by the use of existential types. What is it that existential types allow me to do? I thought they allow me to define different arbitrary function bodies for the same type signature and dynamically invoke those functions from a single call site. Is this not ad hoc polymorphism? -- Patrick Logan mailto:[EMAIL PROTECTED] Voice 503-533-3365 Fax 503-629-8556 Gemstone Systems, Inc http://www.gemstone.com
- RE: View on true ad-hoc overloading. Hans Aberg
- Re: View on true ad-hoc overloading. Jan de Wit
- Re: View on true ad-hoc overloading. Carlos Camarao de Figueiredo
- Re: View on true ad-hoc overloading. Jon . Fairbairn
- Re: View on true ad-hoc overloading. Hans Aberg
- RE: View on true ad-hoc overloading. Patrick Logan
- Re: View on true ad-hoc overloading. S. Alexander Jacobson
- Re: View on true ad-hoc overloading. Fergus Henderson
- Re: View on true ad-hoc overloading. Carlos Camarao de Figueiredo
- Re: View on true ad-hoc overloading. Fergus Henderson
- Re: View on true ad-hoc overloading. Patrick Logan
- Re: View on true ad-hoc overloading. Nigel Perry
- Re: View on true ad-hoc overloading. Fergus Henderson
- Re: View on true ad-hoc overloading. Fergus Henderson
- Re: View on true ad-hoc overloading. Fergus Henderson
- Re: View on true ad-hoc overloading. Kevin Atkinson
- Re: View on true ad-hoc overloading. Carlos Camarao de Figueiredo
