packages feed

sbv-14.0: SBVTestSuite/TestSuite/CompileTests/SCase/SCase57.hs

{-# LANGUAGE QuasiQuotes #-}

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

-- Test: sCase with Tuple2
module T where

import Data.SBV

t :: STuple Integer Bool -> SInteger
t p = [sCase| p of
               (a, _) -> a + 1
      |]