Update Read1 NonEmpty and Read1 Down
Dannyu NDos
ndospark320 at gmail.com
Wed Dec 18 07:32:17 UTC 2019
It would be better if liftReadPrec is used instead of liftReadsPrec.
instance Read1 NonEmpty where
liftReadPrec rp rl = paren $ prec 5 $ do
x <- rp
Symbol ":|" <- lexP
xs <- rl
pure (x :| xs)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20191218/19995046/attachment.html>
More information about the Libraries
mailing list