-{-# OPTIONS_GHC -XNoImplicitPrelude #-}
+{-# LANGUAGE CPP, NoImplicitPrelude, ForeignFunctionInterface #-}
{-# OPTIONS -#include "WCsubst.h" #-}
{-# OPTIONS_HADDOCK hide #-}
+
-----------------------------------------------------------------------------
-- |
-- Module : GHC.Unicode
import GHC.Base
import GHC.Real (fromIntegral)
import Foreign.C.Types (CInt)
-import GHC.Num (fromInteger)
#include "HsBaseConfig.h"
isPrint :: Char -> Bool
-- | Returns 'True' for any Unicode space character, and the control
--- characters @\t@, @\\n@, @\\r@, @\\f@, @\\v@.
+-- characters @\\t@, @\\n@, @\\r@, @\\f@, @\\v@.
isSpace :: Char -> Bool
-- isSpace includes non-breaking space
-- Done with explicit equalities both for efficiency, and to avoid a tiresome