-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | GHC preprocessor and library to enable variable interpolation in strings -- -- This preprocessor enables variable interpolation in strings. -- Alternatively, the library may be used. -- -- See the README.md file for details. @package interpol @version 0.2.2 -- | Support module for the interpol preprocessor. module Text.Interpol -- | Append a showable value to a String in a smart way. In -- particular, do not show a String, as this -- encloses it in "quotes". So, depending on the type of the second -- parameter, ^-^ is equivalent to one of the following -- --
--   x ^-^ y = x ++ y
--   x ^-^ y = x ++ show y
--   
-- -- For all intents and purposes, the ToString type-class is a -- wrapper around Show, so any type that has an instance for -- Show will also have an instance for Interpol. (^-^, interpol) :: (ToString a, ToString b) => a -> b -> String class ToString a instance [overlap ok] Show a => ToString a instance [overlap ok] ToString Char instance [overlap ok] ToString [Char]