packages feed

haskell-tools-refactor-1.0.1.1: examples/Expr/RecordPuns.hs

{-# LANGUAGE NamedFieldPuns #-}
module Expr.RecordPuns where

data Point = Point { x :: Int, y :: Int }

f (Point {y}) = y