-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | A quick webapp generator for any file processing tool -- -- A quick-and-dirty api generator, inspired from the interact -- function from Prelude. -- --
--   interactWeb reverse
--   
-- -- This creates a server listening on port 8080, or environment value -- PORT. @package quickwebapp @version 3.0.0.2 -- | A quick-and-dirty api generator, for any function a -> -- Either String b. -- -- If you only have a function f :: a -> b, simply run -- interactWeb (Right .f) module QuickWebApp -- | Tranform a function into a webapp. The inputs and outputs must -- implement FromText and ToText, respectively. -- -- You can query it via a browser at http://localhost:8080 or by -- using curl/httpie -- --
--   http :8080 input="<your input string>"
--   
-- --
--   curl localhost:8080 -d input="<your input string>"
--   
interactWeb :: (FromText a, ToText b) => (a -> Either String b) -> IO () instance GHC.Generics.Selector QuickWebApp.S1_0_0Output instance GHC.Generics.Constructor QuickWebApp.C1_0Output instance GHC.Generics.Datatype QuickWebApp.D1Output instance GHC.Generics.Selector QuickWebApp.S1_0_0Input instance GHC.Generics.Constructor QuickWebApp.C1_0Input instance GHC.Generics.Datatype QuickWebApp.D1Input instance GHC.Generics.Generic QuickWebApp.Output instance GHC.Classes.Eq QuickWebApp.Output instance GHC.Show.Show QuickWebApp.Output instance GHC.Generics.Generic QuickWebApp.Input instance GHC.Classes.Eq QuickWebApp.Input instance GHC.Show.Show QuickWebApp.Input instance Lucid.Base.ToHtml QuickWebApp.Home instance Data.Aeson.Types.Class.FromJSON QuickWebApp.Input instance Servant.API.ContentTypes.FromFormUrlEncoded QuickWebApp.Input instance Data.Aeson.Types.Class.ToJSON QuickWebApp.Output