packages feed

hls-rename-plugin-1.0.1.0: test/testdata/FieldPuns.hs

{-# LANGUAGE NamedFieldPuns #-}

module FieldPun () where

newtype Foo = Foo { field :: Int }

unFoo :: Foo -> Int
unFoo Foo{field} = field