| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.URI.Static
Documentation
staticURI parses a specified string at compile time
and return an expression representing the URI when it's a valid URI.
Otherwise, it emits an error.
>>>$$(staticURI "http://www.google.com/")http://www.google.com/
>>>$$(staticURI "http://www.google.com/##")<interactive>... ... Invalid URI: http://www.google.com/## ...
uri :: QuasiQuoter Source