[Haskell-cafe] Double-dispatch

Felipe Almeida Lessa felipe.lessa at gmail.com
Mon Mar 5 22:07:00 CET 2012


{-# LANGUAGE MultiParamTypeClasses #-}

class Intersectable a b where
  intersectsWith :: a -> b -> Bool

-- 
Felipe.



More information about the Haskell-Cafe mailing list