Created
November 26, 2014 18:20
-
-
Save codedmart/3db8b8f32fd8e58310c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
instance FromDatum a => Result (Cursor a) where | |
convertResult r = do | |
(v, _) <- convertResult r | |
(_, p) <- responseProfile v | |
c <- makeCursor r | |
return (c { cursorMap = unsafeFromDatum }, p) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment