purescript-codegen / purescript-ps-cst

Purescript code printer, inspired by official purescript-cst types https://hackage.haskell.org/package/purescript/docs/Language-PureScript-CST-Types.html
BSD 3-Clause "New" or "Revised" License
10 stars 5 forks source link

Fix typeop flexgroup #21

Closed jvliwanag closed 3 years ago

jvliwanag commented 3 years ago

Change from printing:

type Foo = (Foo
            A <+> Foo
                  B)

to

type Foo = (Foo A <+> Foo B)