Hoogle Search
Within LTS Haskell 24.41 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
fits-parse Data.Fits The HeaderDataUnit is the full HDU. Both the header information is encoded alongside the data payload.
HeaderDataUnit :: Header -> Dimensions -> Extension -> ByteString -> HeaderDataUnitfits-parse Data.Fits No documentation available.
-
fits-parse Data.Fits Headers contain lines that are any of the following
KEYWORD = VALUE / inline comment COMMENT full line comment (blank)
-
github GitHub.Data.Issues The pull request’s branch was deleted.
-
github GitHub.Data.Issues The pull request’s branch was restored.
-
hal AWS.Lambda.Events.Kafka AWS serialises record headers to JSON as an array of objects. From their docs:
"headers":[{"headerKey":[104, 101, 97, 100, 101, 114, 86, 97, 108, 117, 101]}]Note:>>> map chr [104, 101, 97, 100, 101, 114, 86, 97, 108, 117, 101] "headerValue"
Header :: Text -> ByteString -> Headerhal AWS.Lambda.Events.Kafka No documentation available.
-
No documentation available.
-
headed-megaparsec HeadedMegaparsec Headed parser. Abstracts over explicit composition between consecutive megaparsec try blocks, providing for better error messages. With headed parser you don't need to use try at all.
Examples
>>> import Prelude >>> import Control.Applicative >>> import Data.Void >>> import qualified Text.Megaparsec as M >>> import qualified Text.Megaparsec.Char as M >>> import qualified Text.Megaparsec.Char.Lexer as ML >>> :{ let select :: HeadedParsec Void String (Maybe [Either Char Int], Maybe Int) select = do string' "select" endHead _targets <- optional (space1 *> targets) _limit <- optional (space1 *> limit) return (_targets, _limit) where -- Lifted versions of basic parsers: char = parse . M.char space = parse M.space space1 = parse M.space1 decimal = parse ML.decimal string' = parse . M.string' -- Syntax parsers: targets = M.sepBy1 target commaSeparator target = Left <$> char '*' <|> Right <$> decimal commaSeparator = space *> char ',' *> endHead *> space limit = string' "limit" *> endHead *> space1 *> decimal test :: String -> IO () test = M.parseTest (toParsec select <* M.eof) :}>>> test "select 1, " 1:11: | 1 | select 1, | ^ unexpected end of input expecting '*', integer, or white space
>>> test "select limit " ... unexpected end of input expecting integer or white space
>>> test "select 1, 2 limit 2" (Just [Right 1,Right 2],Just 2)
-
hledger-web Hledger.Web.Import Headers to be added to a Result.