Commit 1547d15e authored by Camil Staps's avatar Camil Staps 🐧

Also add parentheses to instances with infix operators in properties

parent 2eb501f3
Pipeline #40119 passed with stage
in 1 minute and 58 seconds
......@@ -17,7 +17,7 @@ definition module Data.Encoding.GenBinary
* derive class Gast ADT
*
* instance == ADT where
* == x y = x === y
* (==) x y = x === y
*
* :: Record = {a :: ADT, b :: ADT , c :: ADT}
*
......@@ -26,7 +26,7 @@ definition module Data.Encoding.GenBinary
* derive class Gast Record
*
* instance == Record where
* == x y = x === y
* (==) x y = x === y
*
* @property-test-with a = Maybe Bool
* @property-test-with a = Int
......
......@@ -19,7 +19,7 @@ definition module Text.GenJSON
* derive gPrint TestRecord, JSONNode
*
* derive gEq TestRecord
* instance == TestRecord where == a b = a === b
* instance == TestRecord where (==) a b = a === b
*
* derive JSONEncode TestRecord
* derive JSONDecode TestRecord
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment