agrafix / elm-bridge

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

Adding support for the unit type. #34

Closed tmbull closed 6 years ago

tmbull commented 6 years ago

Hi again. This is a follow-up to my previous PR (#33). The reason for this PR is that a servant API can result in a client function that returns unit (ie. a POST request that returns no content).

I couldn't think of any unforseen side-effects of this change, but let me know if you have any issues with it.

bartavelle commented 6 years ago

Looks good to me!