News for hackers. Stuff that matters.
Re:Propositions as Types [pdf] by mrkeen on Wednesday May 07, 2025 @03:27AM (#43913068)
Nah.

  check :: Bool -> a
  check  True = undefined
  check False = undefined
  check     _ = undefined


  7:1: warning: [GHC-53633] [-Woverlapping-patterns]
      Pattern match is redundant
      In an equation for ‘check’: check _ = ...
    |
  7 | check     _ = undefined
    | ^^^^^^^^^^^^^^^^^^^^^^^

There are no comments on this comment yet.