module DsUtils (
EquationInfo(..),
firstPat, shiftEqns,
-
+
mkDsLet, mkDsLets,
MatchResult(..), CanItFail(..),
lengthPName, indexPName )
import Outputable
import SrcLoc ( Located(..), unLoc )
-import Util ( isSingleton, notNull, zipEqual, sortWith )
+import Util ( isSingleton, zipEqual, sortWith )
import ListSetOps ( assocDefault )
import FastString
-
import Data.Char ( ord )
+
+#ifdef DEBUG
+import Util ( notNull ) -- Used in an assertion
+#endif
\end{code}
where
chars = unpackFS str
- safeChar c = ord c >= 1 && ord c <= 0xFF
+ safeChar c = ord c >= 1 && ord c <= 0x7F
\end{code}