
11 Dec
2013
11 Dec
'13
10:48 p.m.
This seems to work {-# LANGUAGE FlexibleInstances #-} instance Num (a -> a) where (*) = (.) Of course, using anything else from the Num class will blow up in your face so it's probably not worth it. Cheers, Danny Gratzer