úÎ1YNoneL]A mapping from language ranges as defined in rfc2616 to languages in your own representation. For example: xdata Language = EN | SV deriving Eq mapping :: RangeMapping Language mapping = Map.fromList [("en-gb",EN),("sv-se",SV)]]Attempt to find a suitable language according to the Accept-Language header of the request. BThis handler will call pass if it cannot find a suitable language.oAttempt to find a suitable language according to a suffix in the request URI corresponding to a language range.5Will call pass if it cannot find a suitable language.¡If a match is found, the suffix will be removed from the URI in the request, so that you can later match on your resource as usual and not worry about suffixes..For example, with the following requested URI: /resource.en-gb?param=value1 with our previously defined mapping will return EN and  will be changed to: /resource?param=value1Change, or remove, the language suffix of an URI.0Set the Content-Language header in the response.  The URI.MThe language to be appended to the URI, or Nothing to remove language suffix.       ,snap-language-0.1.0.2-KgyT2qFJXp24Z6CVVtPhE6 Snap.Language RangeMappinggetAcceptLanguagegetSuffixLanguageswitchSuffixLanguagesetContentLanguage(snap-core-1.0.0.0-135EqntJTZm5tE4SUcNnhwSnap.Internal.Http.Types rqPathInforangerangevalacceptLanguageParsermatches candidates pickLanguage' pickLanguage removeSuffixsuffixes matchSuffix