Report a paste

Please put a quick comment for the admin.

If it looks like spam, the admin will mark it as spam so that the spam filter picks it up in the future.

If the paste contains something private or offensive, it'll probably just be deleted.


class Inject m where
   inject :: m a -> b -> m b
   takesValues :: m a -> Bool

instance Inject Maybe where
   inject (Just _) b = Just b
   inject _        _ = Nothing
   takesValues (Just _) = True
   takesValues _        = False