haskell-tools-refactor-0.4.1.1: examples/Decl/RecordPatternSynonyms.hs
{-# LANGUAGE PatternSynonyms #-}
module Decl.RecordPatternSynonyms where
pattern Point {x, y} = (x, y)
r = (0, 0) { x = 1 }{-# LANGUAGE PatternSynonyms #-}
module Decl.RecordPatternSynonyms where
pattern Point {x, y} = (x, y)
r = (0, 0) { x = 1 }