News for hackers. Stuff that matters.
Re:Pitfalls in Haskell by tome on Monday August 22, 2016 @01:45PM (#12337992)
Sure you can:

    {-# LANGUAGE ConstraintKinds #-}
    
    import Data.Monoid
    
    type Joinable = Monoid
    
    something :: Joinable m => m -> m -> m
    something = (<>)
But like MustardTiger says, don't.

There are no comments on this comment yet.