/ Published in: Haskell
Expand |
Embed | Plain Text
{-# LANGUAGE MultiParamTypeClasses, FlexibleInstances, OverlappingInstances #-} import Data.Foldable (Foldable) import qualified Data.Foldable as F class Elem e c where instance (Elem e c, Foldable t) => Elem e (t c) where main = do
You need to login to post a comment.
