blob: e601d36da80411c6faf78d474a11f20f912fa1fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TemplateHaskell #-}
module T14875 where
$([d| f :: Bool -> Bool
f x = case x of
(True :: Bool) -> True
(False :: Bool) -> False
g :: Bool -> Bool
g x = (case x of
True -> True
False -> False) :: Bool
|])
|