packages feed

papa-0.7.0: src/Papa/Unsafe.hs

{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -Wall #-}

-- | "Papa", with the partial functions of base that it replaces, under their
-- own names and types, for code that is moving to "Papa" one module at a
-- time.
--
-- > import Papa.Unsafe
--
-- instead of @import Papa@. "Papa" does not import this module. Each partial
-- function is also in a module of its own area, which exports only the
-- partial functions and so combines with @import Papa@:
--
-- * "Papa.Unsafe.Numeric": @div@, @mod@, @divMod@, @quot@, @rem@, @quotRem@,
--   @(^)@, @(/)@, @recip@, @(^^)@, @(%)@, @fromIntegral@, @fromInteger@,
--   @truncate@, @round@, @ceiling@, @floor@, @properFraction@, @toRational@,
--   @realToFrac@, and the types @Natural@ and @Ratio@;
-- * "Papa.Unsafe.Format": @printf@, @hPrintf@;
-- * "Papa.Unsafe.Exception": @throw@, @error@, @errorWithoutStackTrace@,
--   @undefined@, @throwing@, @throwing_@;
-- * "Papa.Unsafe.Async": @wait@, @waitAny@, @waitEither@, @waitBoth@ and
--   their forms, which rethrow a thread's exception, and @link@, @link2@.
--
-- "Papa.Unsafe.IO", "System.IO"'s functions that throw their
-- 'Prelude.IOError's, is not re-exported: its names are those of "Papa"'s
-- functions that return them, so it is imported qualified.
--
-- @since 0.7.0
module Papa.Unsafe (
  module Papa,
  module Papa.Unsafe.Async,
  module Papa.Unsafe.Exception,
  module Papa.Unsafe.Format,
  module Papa.Unsafe.Numeric,
) where

import Papa
import Papa.Unsafe.Async
import Papa.Unsafe.Exception
import Papa.Unsafe.Format
import Papa.Unsafe.Numeric