RE: conflicting multi-parameter family instance declarations

2015-01-13 Thread Simon Peyton Jones
12:08 | To: glasgow-haskell-users@haskell.org | Subject: conflicting multi-parameter family instance declarations | | Dear all, | | The following compiles with ghc 7.6 but fails with ghc 7.8: | | - | {-# LANGUAGE TypeFamilies #-} | {-# LANGUAGE FlexibleInstances #-} | {-# LANGUAGE M

conflicting multi-parameter family instance declarations

2015-01-13 Thread Michal Konečný
Dear all, The following compiles with ghc 7.6 but fails with ghc 7.8: - {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE MultiParamTypeClasses #-} module Test where class M t s where type T t s data I t = I t instance M t t where type (T t t) = ()