[Haskell-cafe] Double-dispatch

Clark Gaebel cgaebel at csclub.uwaterloo.ca
Mon Mar 5 22:24:37 CET 2012


Well look at that.

Thanks!

On Mon, Mar 5, 2012 at 4:07 PM, Felipe Almeida Lessa
<felipe.lessa at gmail.com> wrote:
> {-# LANGUAGE MultiParamTypeClasses #-}
>
> class Intersectable a b where
>  intersectsWith :: a -> b -> Bool
>
> --
> Felipe.
>



More information about the Haskell-Cafe mailing list