haskell-tools-builtin-refactorings-1.0.0.0: examples/Expr/RecordPuns.hs
{-# LANGUAGE NamedFieldPuns #-}
module Expr.RecordPuns where
data Point = Point { x :: Int, y :: Int }
f (Point {y}) = y{-# LANGUAGE NamedFieldPuns #-}
module Expr.RecordPuns where
data Point = Point { x :: Int, y :: Int }
f (Point {y}) = y