Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.Aviation.Aip.Href
Synopsis
- newtype Href = Href String
- class ManyHref a => AsHref a where
- class FoldHref a where
- class FoldHref a => GetHref a where
- class SetHref a where
- class (FoldHref a, SetHref a) => ManyHref a where
- class (GetHref a, ManyHref a) => HasHref a where
- class (HasHref a, AsHref a) => IsHref a where
- dropHrefFile :: Href -> Href
- aipPrefix :: ManyHref s => s -> s
- windows_replace :: String -> String
Documentation
Instances
class FoldHref a where Source #
Minimal complete definition
Instances
class SetHref a where Source #
Instances
class (FoldHref a, SetHref a) => ManyHref a where Source #
Minimal complete definition
Methods
_ManyHref :: Traversal' a Href Source #
Instances
dropHrefFile :: Href -> Href Source #
windows_replace :: String -> String Source #
>>>
windows_replace ""
""
>>>
windows_replace "abc"
"abc"
>>>
windows_replace "abc/def"
"abc\\def"
>>>
windows_replace "abc/def\\ghi"
"abc\\def_ghi"
>>>
> windows_replace "abc\\def/ghi"
"abc_def\\ghi"