packages feed

papa-0.7.0: src/Papa/Unsafe/Format.hs

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

-- | Formatting with a format string. 'printf' and 'hPrintf' throw at run
-- time where the format string does not match the arguments.
--
-- This module exports only these functions, so it combines with "Papa".
-- "Papa.Unsafe" is "Papa" with every partial function, these included.
--
-- @since 0.7.0
module Papa.Unsafe.Format (
  printf,
  hPrintf,
) where

import Text.Printf (hPrintf, printf)