| Copyright | 2014, Peter Harpending. |
|---|---|
| License | BSD3 |
| Maintainer | Peter Harpending <pharpend2@gmail.com> |
| Stability | experimental |
| Portability | archlinux |
| Safe Haskell | None |
| Language | Haskell2010 |
Web.Saferoute.Blaze
Description
- type ForeignResource = AttributeValue
- getUrl :: Resource r => r -> AttributeValue
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.