| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
DataFrame.Internal.Parsing
Synopsis
- isNullish :: Text -> Bool
- isNullishBS :: ByteString -> Bool
- isTrueish :: Text -> Bool
- isFalseish :: Text -> Bool
- readValue :: (HasCallStack, Read a) => Text -> a
- readBool :: HasCallStack => Text -> Maybe Bool
- readByteStringBool :: ByteString -> Maybe Bool
- readByteStringDate :: String -> ByteString -> Maybe Day
- readInteger :: HasCallStack => Text -> Maybe Integer
- readInt :: HasCallStack => Text -> Maybe Int
- readByteStringInt :: HasCallStack => ByteString -> Maybe Int
- readByteStringDouble :: HasCallStack => ByteString -> Maybe Double
- readDouble :: HasCallStack => Text -> Maybe Double
- readIntegerEither :: HasCallStack => Text -> Either Text Integer
- readIntEither :: HasCallStack => Text -> Either Text Int
- readDoubleEither :: HasCallStack => Text -> Either Text Double
- safeReadValue :: Read a => Text -> Maybe a
- readWithDefault :: (HasCallStack, Read a) => a -> Text -> a
- parseSep :: Char -> Text -> [Text]
- record :: Char -> Parser [Text]
- parseRow :: Char -> Parser [Text]
- field :: Char -> Parser Text
- unquotedTerminators :: Char -> Set Char
- unquotedField :: Char -> Parser Text
- quotedField :: Parser Text
- lineEnd :: Parser ()
- countRows :: Char -> FilePath -> IO Int
- inferValueType :: Text -> Text
- readSingleLine :: Char -> Text -> Handle -> IO ([Text], Text)
Documentation
isNullishBS :: ByteString -> Bool Source #
isFalseish :: Text -> Bool Source #
readByteStringBool :: ByteString -> Maybe Bool Source #
readByteStringDate :: String -> ByteString -> Maybe Day Source #
readInteger :: HasCallStack => Text -> Maybe Integer Source #
readByteStringInt :: HasCallStack => ByteString -> Maybe Int Source #
readByteStringDouble :: HasCallStack => ByteString -> Maybe Double Source #
readDouble :: HasCallStack => Text -> Maybe Double Source #
readIntegerEither :: HasCallStack => Text -> Either Text Integer Source #
readIntEither :: HasCallStack => Text -> Either Text Int Source #
readDoubleEither :: HasCallStack => Text -> Either Text Double Source #
readWithDefault :: (HasCallStack, Read a) => a -> Text -> a Source #
quotedField :: Parser Text Source #
inferValueType :: Text -> Text Source #
Infer the Haskell type name from a text sample.