packages feed

sbv-14.0: SBVTestSuite/TestSuite/CompileTests/PCase/PCase05.hs

{-# LANGUAGE QuasiQuotes #-}

{-# OPTIONS_GHC -Wall -Werror -ddump-splices #-}

module T where

import Expr
import Data.SBV
import Data.SBV.TP

-- Unknown constructor
t :: SExpr -> Proof SBool
t e = [pCase| e of
        Zero  -> undefined
        Numb _ -> undefined
      |]