Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Mar 16, 2014
  1. Fewer warnings

    authored
Commits on Sep 25, 2013
  1. 0.6.1

    authored
  2. Much better error messages.

    authored
    Also, don't silently ignore things.
    And have a hint error message for people who's editors don't put
    line endings on the ends of lines.
Commits on Sep 20, 2013
  1. Version bump

    authored
  2. Clean up flag selector code

    authored
  3. @psycotica0

    Made Routes Module Name Configurable

    psycotica0 authored committed
    It was hardcoded to spit out a module called "Routes", no matter where
    you wanted to put it.
    Since filenames and module names are linked, though, this got really
    grouchy when you put it anywhere other than a file called Routes.hs
    
    Better now.
Commits on Oct 16, 2012
  1. Version bump

    authored
  2. PartialURI

    authored
  3. PathHelpers use fully qualified imports

    authored
    To help with CPP usage
Commits on Oct 15, 2012
  1. Version bump: 0.4

    authored
  2. Suppress GHC warnings

    authored
  3. Fix some escaping issues

    authored
  4. Pass multi pieces through

    authored
Commits on Aug 18, 2012
  1. bump version

    authored
  2. Need to escape URI components

    authored
    Oops.
  3. version bump

    authored
  4. Allow generating Routes and/or PathHelpers

    authored
    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 <http://hackage.haskell.org/trac/ghc/ticket/1409> is solved.
  5. Add optional support for path helpers

    authored
    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
    action.
    
    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

    authored
Commits on Aug 9, 2012
  1. 0.2

    authored
  2. Add the option to pass arguments to routes

    authored
    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.
  3. typo

    authored
  4. example

    authored
  5. .gitignore

    authored
  6. .gitignore

    authored
  7. Cabalize and document

    authored
  8. COPYING

    authored
  9. usage message

    authored
  10. hlint and warnings clean

    authored
  11. initial commit

    authored
Something went wrong with that request. Please try again.