4 Nov
2014
4 Nov
'14
5:46 p.m.
Is there a corresponding Show datatype? At least with 7.8.3, having just that line gives the following error: The first argument of ‘Num’ should have kind ‘*’, but ‘Show a’ has kind ‘Constraint’ In the instance declaration for ‘Num (Show a)’ On 4 November 2014 19:30, Tom Ellis <tom-lists-haskell-cafe-2013@jaguarpaw.co.uk> wrote:
This is accepted by GHC 7.6.3. Is this a bug? What does it mean?
instance Num (Show a) where _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com http://IvanMiljenovic.wordpress.com