blob: 5bd15f1e1388385eecee387383d2b23fcc3b0ed0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
{-# LANGUAGE Arrows #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE UnicodeSyntax #-}
module T18225B where
f :: (a, (b, c)) -> b
f (_, (x, _)) = x
test :: a -> a
test = proc x -> ⦇f⦈$([|x|])
|