Skip to content
Snippets Groups Projects
Commit 22565506 authored by sheaf's avatar sheaf Committed by Marge Bot
Browse files

base: add COMPLETE pragma to BufferCodec PatSyn

This implements CLC proposal #178, rectifying an oversight in the
implementation of CLC proposal #134 which could lead to spurious
pattern match warnings.

https://github.com/haskell/core-libraries-committee/issues/178
https://github.com/haskell/core-libraries-committee/issues/134
parent 654fdb98
No related branches found
No related tags found
No related merge requests found
......@@ -145,6 +145,7 @@ data CodingProgress = InputUnderflow -- ^ Stopped because the input contains in
, Show -- ^ @since 4.4.0.0
)
{-# COMPLETE BufferCodec #-}
pattern BufferCodec :: CodeBuffer from to
-> (Buffer from -> Buffer to -> IO (Buffer from, Buffer to))
-> IO ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment