Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
Eq Href Source # | |
Ord Href Source # | |
Show Href Source # | |
Semigroup Href Source # | |
Monoid Href Source # | |
ToJSON Href Source # | |
Defined in Data.Aviation.Aip.Href | |
FromJSON Href Source # | |
Ixed Href Source # | |
Defined in Data.Aviation.Aip.Href | |
Plated Href Source # | |
Defined in Data.Aviation.Aip.Href plate :: Traversal' Href Href # | |
Wrapped Href Source # | |
AsEmpty Href Source # | |
Defined in Data.Aviation.Aip.Href | |
Reversing Href Source # | |
Defined in Data.Aviation.Aip.Href | |
IsHref Href Source # | |
HasHref Href Source # | |
ManyHref Href Source # | |
Defined in Data.Aviation.Aip.Href | |
SetHref Href Source # | |
GetHref Href Source # | |
FoldHref Href Source # | |
AsHref Href Source # | |
Href ~ a => Rewrapped Href a Source # | |
Defined in Data.Aviation.Aip.Href | |
Each Href Href Char Char Source # | |
Cons Href Href Char Char Source # | |
Snoc Href Href Char Char Source # | |
type Index Href Source # | |
Defined in Data.Aviation.Aip.Href | |
type IxValue Href Source # | |
Defined in Data.Aviation.Aip.Href | |
type Unwrapped Href Source # | |
Defined in Data.Aviation.Aip.Href |
class FoldHref a where Source #
Instances
class SetHref a where Source #
Instances
class (FoldHref a, SetHref a) => ManyHref a where Source #
_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"