[Haskell-cafe] Best idiom for avoiding Defaulting warnings with
ghc -Wall -Werror ??
Stefan O'Rear
stefanor at cox.net
Fri Jun 22 18:14:06 EDT 2007
On Fri, Jun 22, 2007 at 06:11:24PM -0400, Brandon S. Allbery KF8NH wrote:
> (1) any way to flag a pattern match as "I know this is okay", don't
> warn about it" without shutting off pattern match warnings completely?
case scrutinee of
Pattern -> alternative
Pattern -> alternative
_ -> error "Can't happen in functionname"
Stefan
More information about the Haskell-Cafe
mailing list