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) = ()

Re: renamed GMP symbols in GHC

2012-01-04 Thread Michal Konečný
is not straightforward.) Kind regards, Michal On 22/12/2011 22:58, Michal Konečný wrote: > > I think the following concrete changes would be required in the GHC > > distribution: > > > > (a) make a ghc build always use the bundled GMP > > > > (b) apply a rena

renamed GMP symbols in GHC

2011-12-22 Thread Michal Konečný
Dear all, Several issues related to the way GMP is included in GHC were publicly discussed in the past with the goal of replacing GMP. As summarised in this wiki by Peter Tanski, the main issues were: (1) Licensing (2) Memory Structure; Simultaneous Access to GMP by Foreign (C) code in the Sa