Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Aug 18, 2012
  1. Need to escape URI components

  2. Allow generating Routes and/or PathHelpers

    Basically, make route generation optional.  The primary motivation for
    this is so that path helpers can be placed into a second file that is
    CPP #include into your application, to avoid recursive dependencies at
    least until <> is solved.
  3. Add optional support for path helpers

    These are functions named `actionPath` that take all the arguments the
    route takes (so, the arguments of the action, minus the arguments to the
    routes because those are just global).  It generates a `typeRestrict`
    function in the where clause of each path helper that never gets used,
    but which causes the type inference engine to restrict the argument
    types of the path helper to the types of the actual arguments to the
    The helpers return Network.URI.URI, a relative URI with an absolute path
    If your application does not live in the root of your domain, you may
    need to take the path prefix on.  For absolute URIs you can use
    (Network.URI.relativeTo <baseuri> <pathhelper>)
Commits on Aug 11, 2012
  1. hlint clean output

Commits on Aug 9, 2012
  1. Add the option to pass arguments to routes

    N arguments can be passed to routes, and each of these arguments is then
    passed to all Application before they are applied to any arguments
    coming from the URI.  This allows IORefs, network connections to
    databases, and other such things from IO to be passed to each action.
  2. usage message

  3. hlint and warnings clean

  4. initial commit

Something went wrong with that request. Please try again.