[Haskell-cafe] web-routes-quasi: Generating a route type

Michael Snoyman michael at snoyman.com
Sun Dec 11 03:51:15 CET 2011


Hi,

web-routes-quasi is actually unmaintained. Yesod no longer uses it,
instead using some internal code. If you'd like to use it, feel free.
If you need to make any changes, you can feel free to release new
versions of it as well.

FWIW, I think you're looking for the createRoutes function.

Michael

2011/12/9 Ertugrul Söylemez <es at ertes.de>:
> Hello there,
>
> I'm trying to use the web-routes-quasi package outside of Yesod.  Is
> there any documentation on how to use TH to generate a route type just
> like Yesod does?  Or is that a Yesod-specific feature?
>
> I don't need the actual automatic dispatch or anything, just a type to
> work with.  If it's not possible, I will just go ahead and (ab-) use the
> constructor strings.
>
>
> Greets,
> Ertugrul
>
> --
> nightmare = unsafePerformIO (getWrongWife >>= sex)
> http://ertes.de/
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



More information about the Haskell-Cafe mailing list