Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Continent
- pattern Africa :: Continent
- pattern Asia :: Continent
- pattern Antarctica :: Continent
- pattern Europe :: Continent
- pattern NorthAmerica :: Continent
- pattern Oceania :: Continent
- pattern SouthAmerica :: Continent
- continent :: Country -> Continent
- encodeEnglish :: Continent -> Text
- decodeEnglish :: Text -> Maybe Continent
- alphaUpper :: Continent -> Text
- alphaLower :: Continent -> Text
- decodeAlpha :: Text -> Maybe Continent
Documentation
Instances
Bounded Continent Source # | |
Enum Continent Source # | |
Defined in Continent.Unsafe succ :: Continent -> Continent # pred :: Continent -> Continent # fromEnum :: Continent -> Int # enumFrom :: Continent -> [Continent] # enumFromThen :: Continent -> Continent -> [Continent] # enumFromTo :: Continent -> Continent -> [Continent] # enumFromThenTo :: Continent -> Continent -> Continent -> [Continent] # | |
Show Continent Source # | |
Eq Continent Source # | |
Ord Continent Source # | |
Defined in Continent.Unsafe |
pattern Antarctica :: Continent Source #
pattern NorthAmerica :: Continent Source #
pattern SouthAmerica :: Continent Source #
Continent Mapping
Name
encodeEnglish :: Continent -> Text Source #
Two-letter Codes
alphaUpper :: Continent -> Text Source #
alphaLower :: Continent -> Text Source #