[web-devel] Type-safe URL handling

Jeremy Shaw jeremy at n-heptane.com
Sun Mar 28 20:34:48 EDT 2010


On Sun, Mar 28, 2010 at 7:32 PM, Jeremy Shaw <jeremy at n-heptane.com> wrote:

Oops. Somehow hit the right combination of keys to send before I was done:


> data EntryId = EntryId { year :: Int
>                                      , month :: Int
>                                      , day :: Int
>
                                         , seq :: Int
                                        }

which gets rendered as:

/2010/04/10/1/

- jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/web-devel/attachments/20100328/b067c829/attachment.html


More information about the web-devel mailing list