[nhc-bugs] deriving Ix

Manuel M. T. Chakravarty chak@cse.unsw.edu.au
Wed, 26 Sep 2001 17:55:04 +1000


The program

  import Ix

  newtype Name = Name Int
	       deriving (Eq, Ord, Ix)


  main = print 42

gives me

	  Error when renaming::
  Identifier Ix._tupleRange used at 4:33 is not defined.
  Identifier Ix.inRange used at 4:33 is not defined.
  Identifier Ix.range used at 4:33 is not defined.
  Type class Ix.Ix used at 4:33 is not defined.
  Identifier Ix._tupleIndex used at 4:33 is not defined.
  Identifier Ix.index used at 4:33 is not defined.

which IMO contradicts the definition of the Standard Libraries.

Manuel