X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fprelude%2FTysPrim.lhs;h=e8638d78eef73b00daa970a718ee64183dcbbcb7;hp=9aa837d3b47b02b92dd8c3e6232a5b4e85e93025;hb=4c6a3f787abcaed009a574196d82237d9ae64fc8;hpb=c1a1488fab7e40bdb269fcd6bfa1e547a8a562a1 diff --git a/compiler/prelude/TysPrim.lhs b/compiler/prelude/TysPrim.lhs index 9aa837d..e8638d7 100644 --- a/compiler/prelude/TysPrim.lhs +++ b/compiler/prelude/TysPrim.lhs @@ -68,7 +68,7 @@ import SrcLoc import Unique ( mkAlphaTyVarUnique, pprUnique ) import PrelNames import StaticFlags -import FastString ( FastString, mkFastString ) +import FastString import Outputable import Char ( ord, chr ) @@ -291,7 +291,7 @@ lifted type, and back. It's also used to instantiate un-constrained type variables after type checking. For example - lenth Any [] + length Any [] Annoyingly, we sometimes need Anys of other kinds, such as (*->*) etc. This is a bit like tuples. We define a couple of useful ones here, and make others up on the fly. If any of these others end up being exported