packages feed

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

{-# LANGUAGE QuasiQuotes #-}

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

module T where

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

-- Negative: wildcard with args (e.g. _ _ ->)
t :: SExpr -> Proof SBool
t e = [pCase| e of
        Zero    -> undefined
        Num _   -> undefined
        Var _   -> undefined
        Add _ _ -> undefined
        _ _     -> undefined
      |]