packages feed

haskell-tools-builtin-refactorings-1.0.0.0: examples/Expr/RecordWildcards.hs

{-# LANGUAGE RecordWildCards #-}
module Expr.RecordWildcards where

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

p1 = let x = 3; y = 4 in Point { x = 1, .. }