-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Use Template Haskell to embed the result of an IO computation.
--
-- Please see the README on GitHub at
-- https://github.com/gtollini/io-embed#readme
@package io-embed
@version 0.1.0.0
module Data.IOEmbed
-- | Embeds an IO a value - as long as a is Char,
-- String, Integer, Rational, or ByteString.
embedIO :: forall a. Typeable a => IO a -> Q Exp
-- | If you want to embed something else, you can manually generate an
-- IO Lit and use this function.
embedIOLit :: IO Lit -> Q Exp
-- | Converts Char, String, Integer, Rational,
-- or ByteString to a literal expression.
toLitE :: forall a. Typeable a => a -> Exp