Create a gist now

Instantly share code, notes, and snippets.

Exception Scoping 2
data MyRecord = MyRecord{
mrField :: [Text]
}
(do
some operations...
return $ MyRecord $ fmap (decodeUtf8) listOfByteStrings)
`catch`
myHandler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment