Module
URI.Scheme 
- Package
 - purescript-uri
 - Repository
 - purescript-contrib/purescript-uri
 
#fromString Source
fromString :: String -> Maybe SchemeAttempts to create a Scheme from the passed string. The scheme component
of a URI has no escape sequences, so this function will return Nothing
if an invalid value is provided.
fromString "http" == Just (Scheme.unsafeFromString "http")
fromString "git+ssh" == Just (Scheme.unsafeFromString "git+ssh")
fromString "!!!" == Nothing
fromString "" == Nothing
#toString Source
toString :: Scheme -> NonEmptyStringReturns the string value for a scheme.
toString (unsafeFromString "http") == "http"
toString (unsafeFromString "git+ssh") == "git+ssh"
#unsafeFromString Source
unsafeFromString :: String -> SchemeConstructs a Scheme part unsafely: if the value is not an acceptable
scheme a runtime error will be thrown.
This is intended as a convenience when describing Schemes statically in
PureScript code, in all other cases fromString should be used.
- Modules
 - URI
 - URI.
AbsoluteURI  - URI.
Authority  - URI.
Common  - URI.
Extra. MultiHostPortPair  - URI.
Extra. QueryPairs  - URI.
Extra. UserPassInfo  - URI.
Fragment  - URI.
HierarchicalPart  - URI.
Host  - URI.
Host. Gen  - URI.
Host. IPv4Address  - URI.
Host. IPv6Address  - URI.
Host. RegName  - URI.
HostPortPair  - URI.
HostPortPair. Gen  - URI.
Path  - URI.
Path. Absolute  - URI.
Path. NoScheme  - URI.
Path. Rootless  - URI.
Path. Segment  - URI.
Port  - URI.
Port. Gen  - URI.
Query  - URI.
RelativePart  - URI.
RelativeRef  - URI.
Scheme  - URI.
Scheme. Common  - URI.
URI  - URI.
URIRef  - URI.
UserInfo