chez-grater-0.0.4: Parse and scrape recipe blogs
Safe HaskellNone
LanguageHaskell2010

Chez.Grater.Parser

Synopsis

Documentation

parseRawIngredients :: Text -> Either Text [Ingredient] Source #

Parse raw ingredients, i.e. ones we know should be separated by newlines.

mkIngredients :: Text -> [Ingredient] Source #

Passive ingredient parser which separates on newlines.

parseScrapedSteps :: [ScrapedStep] -> Either Text [Step] Source #

Parse scraped steps.