Two things that I would like to see in Racket2 would be return values being standard practice and the ability to return nothing.
Racket has a lot of functions that return #<void>; that's not helpful. In almost every case, there is a sensible thing to return and it would be better to return it -- for example, when you set something, return it. It doesn't need to change any existing code, since the existing code ignores the return value. Likewise, no one has to worry about remembering exactly what it is that gets returned; just ignore the return value like you're already doing. The other thing I'd like to see would be the option to return nothing. Not #<void>, '(), or #f. Nothing. It's useful e.g. when you want to simultaneously transform and filter a list. On Wed, Jul 17, 2019 at 11:50 PM Daniel Prager <daniel.a.pra...@gmail.com> wrote: > I'm confused on one point. > > Why would a new canonical notation be preferable to, say, also fully > supporting an alternative general notation (like Shriram's p4p, or a > derivative thereof) or even multiple notations in addition to retaining > good old s-expressions? > > The idea would be that you could transform freely and readably between > alternative notations, enabling round-tripping without degradation. > > I imagine that effectively providing tooling, syntax-extension, good error > messages, and documentation across multiple notations would be (ahem) > challenging, but so long as we're dreaming big ... > > > Dan > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/racket-users/CAFKxZVV-njHNCCLDP-RsDq%2BjbXrOGpOnaEp9Ob4ugTbdtmckAw%40mail.gmail.com > <https://groups.google.com/d/msgid/racket-users/CAFKxZVV-njHNCCLDP-RsDq%2BjbXrOGpOnaEp9Ob4ugTbdtmckAw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAE8gKodKrWNeL3tJQ5uO4X64jKzBVmYY2P9BgLsd%3Dqh8bhSQyw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.