
#11427: TypeSynonyms not deduced -------------------------------------+------------------------------------- Reporter: phadej | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1-rc1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by phadej): goldfire: isn't situation a bit like {{{ {-# LANGUAGE UndecidableInstances #-} {-# LANGUAGE FlexibleInstances #-} class MyEq a where myeq :: a -> a -> Bool class MyEq a => MyOrd a where mycomp :: a -> a -> Ordering class MyClass a where mydef :: a -> Bool instance MyOrd a => MyClass a where mydef x = myeq x x }}} This small example works though. i.e. by requiring ` All SListI xss =>` we also should get `SList xss` to use `sList`. Or I'm reading generics-sop code very wrong myself (it's not mine)? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11427#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler