saferoute-0.1.1.0: A simple type-safe routing library.

Copyright2014, Peter Harpending.
LicenseBSD3
MaintainerPeter Harpending <pharpend2@gmail.com>
Stabilityexperimental
Portabilityarchlinux
Safe HaskellNone
LanguageHaskell2010

Web.Saferoute.Blaze

Description

 

Synopsis

Documentation

type ForeignResource = AttributeValue Source

Foreign resources need only to have a URL, which needs to be an embeddable attribute.

getUrl :: Resource r => r -> AttributeValue Source

Given a Resource, get the URL for it.