Skip to content

Instantly share code, notes, and snippets.

@beckyconning
Created February 19, 2018 20:21
Show Gist options
  • Save beckyconning/6b355219c47185313362542b6afec0ac to your computer and use it in GitHub Desktop.
Save beckyconning/6b355219c47185313362542b6afec0ac to your computer and use it in GitHub Desktop.
parseRow =
many1Till (parseNumber >>= \n -> char "," *> pure n)
>>= \features -> manyTil eol
>>= \label -> eol
*> pure (Iris { features, label })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment