Updated partial type signatures (#194) - recommendation: accept

Hi everyone, Being the shepherd to the Updated partial type signatures proposal (#194, https://github.com/ghc-proposals/ghc-proposals/pull/194), I recommend acceptance. I've posted the rationale behind this recommendation on Github thread ( https://github.com/ghc-proposals/ghc-proposals/pull/194#issuecomment-5547513... ). In short: the proposal unifies the treatment of underscores and identifiers beginning with underscores everywhere outside patterns. It also brings more control to partial type signatures. Please, raise your voices here or there. As usual, silence is understood as an agreement. Vitaly

I'm *strongly against* this proposal due to its new semantics for
expression-level `_`s. My argument is here:
https://github.com/ghc-proposals/ghc-proposals/pull/194#issuecomment-5554356...
On Sun, Nov 17, 2019 at 9:44 PM Vitaly Bragilevsky
Hi everyone,
Being the shepherd to the Updated partial type signatures proposal (#194, https://github.com/ghc-proposals/ghc-proposals/pull/194), I recommend acceptance. I've posted the rationale behind this recommendation on Github thread ( https://github.com/ghc-proposals/ghc-proposals/pull/194#issuecomment-5547513... ).
In short: the proposal unifies the treatment of underscores and identifiers beginning with underscores everywhere outside patterns. It also brings more control to partial type signatures.
Please, raise your voices here or there. As usual, silence is understood as an agreement.
Vitaly _______________________________________________ ghc-steering-committee mailing list ghc-steering-committee@haskell.org https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee
-- I'm currently travelling the world, sleeping on people's couches and doing full-time collaboration on Haskell projects. If this seems interesting to you, please consider signing up as a host! https://isovector.github.io/erdos/

I read the proposal in full today.
* I think I like the idea of explicit syntax for partial type signatures
* Elision in types doesn't seem all that useful, yet it occupies prime
syntactic real estate. I thought about this for a while and I don't have
any alternative suggestions unfortunately.
Cheers
Simon
On Sun, 17 Nov 2019 at 14:44, Vitaly Bragilevsky
Hi everyone,
Being the shepherd to the Updated partial type signatures proposal (#194, https://github.com/ghc-proposals/ghc-proposals/pull/194), I recommend acceptance. I've posted the rationale behind this recommendation on Github thread ( https://github.com/ghc-proposals/ghc-proposals/pull/194#issuecomment-5547513... ).
In short: the proposal unifies the treatment of underscores and identifiers beginning with underscores everywhere outside patterns. It also brings more control to partial type signatures.
Please, raise your voices here or there. As usual, silence is understood as an agreement.
Vitaly _______________________________________________ ghc-steering-committee mailing list ghc-steering-committee@haskell.org https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee

On Nov 25, 2019, at 11:16 AM, Simon Marlow
wrote: * Elision in types doesn't seem all that useful, yet it occupies prime syntactic real estate. I thought about this for a while and I don't have any alternative suggestions unfortunately.
For what it's worth, I completely agree here. However, we Haskellers seem to like being able to say `const x _ = x`. Being able to write an underscore there is nice, and we would sorely miss its absence. Why don't we feel the same about `const :: a -> _ -> a`? Maybe it's that we're not used to it? I agree that I don't feel the same about these two elisions, but I can't articulate why. Richard
participants (4)
-
Richard Eisenberg
-
Sandy Maguire
-
Simon Marlow
-
Vitaly Bragilevsky