Closed ggreif closed 6 years ago
I'm undecided about unticked promoted constructors. Is there a good reason not to use them? Why does GHC warn about them? I find 'MyConstructor
slightly ugly, but if there is a good reason to use it, I will.
I doubt there is a good reason, sounds like a pedantic thing to me.
On 6/29/18, Manuel Bärenz notifications@github.com wrote:
I'm undecided about unticked promoted constructors. Is there a good reason not to use them? Why does GHC warn about them? I find
'MyConstructor
slightly ugly, but if there is a good reason to use it, I will.-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/turion/rhine/pull/95#issuecomment-401341047
I used ticks in some places like https://github.com/turion/rhine/blob/63fc173d93caea52cd2ec8d969f83ed3fbce433c/rhine/src/FRP/Rhine/Clock/Periodic.hs#L68. Maybe I'll revert that globally to have no ticks anywhere. (Note to self: Ask on IRC what the reasoning is)
Thanks!
This eliminates all the warnings in
rhine/rhine
for the 3 GHC versions used in Travis.