packages feed

haskell-tools-refactor-0.4.1.1: examples/Refactor/ExtractBinding/RecordWildcards.hs

{-# LANGUAGE RecordWildCards #-}
module Refactor.ExtractBinding.RecordWildcards where

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

d = (\(Point {..}) -> x + y) (Point 1 2)