Skip to content

Instantly share code, notes, and snippets.

@yuga yuga/read.hs

Created Feb 28, 2015
What would you like to do?
ByteString -> Double
toRealFloat . either error id . parseOnly Data.Attoparsec.ByteString.Char8.scientific :: ByteString -> Double
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.