Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 14 lines (10 sloc) 0.387 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14
{- ----------------------------------------------------------------------------------------
what : empty context on instance, parsing of it
expected: ok
---------------------------------------------------------------------------------------- -}

module InstanceCtxt1 where

class Foo a where
   foo :: a -> Int

instance () => Foo Int where
   foo = undefined

main = return ()
Something went wrong with that request. Please try again.