id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
6038	Allow view patterns inside record patterns	akio		"I think it would be nice if I could directly write a view pattern inside a record pattern. Currently the following program causes a parse error.

{{{
{-# LANGUAGE ViewPatterns #-}
newtype Foo = Foo{ fooA :: Int }

main = case Foo 4 of
    Foo{ fooA = show -> s } -> print s
    --Foo{ fooA = (show -> s) } -> print s -- This version is ok.
}}}"	feature request	closed	normal	7.6.1	Compiler	7.4.1	fixed			Unknown/Multiple	Unknown/Multiple	None/Unknown	Unknown	rename/should_compile/T6038			
