Closed PallHaraldsson closed 2 years ago
I don't know if any style-guide promotes your style, but if it's your style, or just a misunderstanding, then consider conforming to: https://github.com/SciML/SciMLStyle#struct-type-annotations
Most or all style guides prefer spaces around operators (with some exceptions see there), and that's how they do.
It's good. I have some taste for this (I used to write lots of Haskell), but I don't insist on this. I should use style compatible to formatters, and your PR is good.
Just note it's not a complete change, I see now, also unchanged in the README (and maybe elsewhere, the ANN post?).
I don't know enough Haskell, to know why it prefers spaces for :: (or even if it means the same there): https://github.com/tibbe/haskell-style-guide/blob/master/haskell-style.md
[skip ci]