-- Stability : experimental
-- Portability : non-portable
--
--- $Id: Exts.hs,v 1.2 2002/01/02 15:01:27 simonmar Exp $
+-- $Id: Exts.hs,v 1.3 2002/03/14 16:26:40 simonmar Exp $
--
-- GHC Extensions: this is the Approved Way to get at GHC-specific stuff.
--
-- shifty wrappers from GHC.Base
shiftL#, shiftRL#, iShiftL#, iShiftRA#, iShiftRL#,
+ -- for linear implicit parameters:
+ Splittable(..),
+
-- and finally, all the unboxed primops of GHC!
module GHC.Prim
import GHC.Word
import GHC.Num
import GHC.Float
+
+class Splittable t where
+ split :: t -> (t,t)