Create a gist now

Instantly share code, notes, and snippets.

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