1. Yuri Bochkarev
  2. imagepaste
  3. Issues
Issue #3 new

Glue handlers in a monadic chain

Yuri Bochkarev
repo owner created an issue

It would be nice to steal the idea of gluing consequent actions in a monadic chain from Network.Browser: {{{ fetch req = do (uri, rsp) <- browse $ do setAllowRedirects True -- handle HTTP redirects setProxy (Proxy "http://localhost:3128" Nothing) request $ req }}} in a form like that: {{{ fastpicHandler = getRefresh >>= parseFastpicRefresh }}}

Comments (0)

  1. Log in to comment