eskimor / purescript-bridge

Create PureScript datatypes from Haskell datatypes
BSD 3-Clause "New" or "Revised" License
110 stars 49 forks source link

Eq/Ord/Show instances #78

Closed flip111 closed 1 year ago

flip111 commented 1 year ago

Previously discussed in https://github.com/eskimor/purescript-bridge/issues/40

Show is not yet implemented. Also we could use configuration options https://hackage.haskell.org/package/purescript-bridge-0.15.0.0/docs/Language-PureScript-Bridge-CodeGenSwitches.html#t:Settings whether Eq, Show and Ord need to be generated. It's not always the case that when you have them on server side you also want to have them on client side.