Matt Bray

Results 18 comments of Matt Bray

I have no authority on the matter, but I suspect this PR won't be accepted. Perhaps a happy middle ground would be to submit a PR with the changes required...

I can take the [`table`-related properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Table) and their values: * `borderCollapse`, `collapse`, `separate` * `borderSpacing`, `borderSpacing2` * `captionSide` * `emptyCells`, `show`, `hide` * `tableLayout` (values already done) * `verticalAlign`, `sub`,...

Hi @FPtje, thanks for getting started on this. I haven't had a chance to review the code in detail, but here are a couple of admin items that will help...

Bump. I have tested this and it works well for me.

Yes, you can use `one_of` to try a bunch of different shapes in turn, or if the value of some field in your JSON tells you what shape to expect...

Sounds like a fun exercise! So it looks like the value the user passes in the `keys` parameter tells us what shape of JSON to expect. Here's one way you...

You can pass a function in `Options.fieldLabelModifier` that removes primes from your record field names: https://github.com/krisajenkins/elm-export/blob/master/src/Elm/Common.hs#L8 Where else are you getting primes that you need to remove?

@domenkozar can you provide a minimal Haskell snippet that generates invalid Elm 0.18 code?