agrafix / elm-bridge

Haskell: Derive Elm types from Haskell types
BSD 3-Clause "New" or "Revised" License
100 stars 27 forks source link

Tag single constructors when appropriate #57

Closed ilyakooo0 closed 1 year ago

ilyakooo0 commented 1 year ago

It seem like the current implementation completely ignores the tagSingleConstructors option.

My fix is far from perfect, but it covers some of the cases.

bartavelle commented 1 year ago

Thanks for the contribution, and sorry for the late answer :(

bartavelle commented 1 year ago

Pushed 0.8.2.