ndmitchell / record-dot-preprocessor

A preprocessor for a Haskell record syntax using dot
Other
129 stars 19 forks source link

Consider partially applied updates #9

Closed ndmitchell closed 4 years ago

ndmitchell commented 6 years ago

foo{bar=} could become \x -> foo{bar=x}

{bar=baz} could become \x -> x{bar=baz}

ndmitchell commented 6 years ago

foo{bar=, baz=} would be \x y -> foo{bar=x, baz=y}

ndmitchell commented 6 years ago

{bar=} could be \x y -> x{bar=y}

ndmitchell commented 4 years ago

All good ideas, but I now don't plan to go beyond the GHC record proposal.