[elixir-core:7150] Re: Proposal: pipe and assign syntax

2017-05-19 Thread Ben Wilson
This has been proposed before, and it was rejected then as well. You're only saving a few characters, and it obfuscates that two completely different things are happening (assignment, function calling). On Friday, May 19, 2017 at 1:27:29 PM UTC-4, OvermindDL1 wrote: > > Actually that specific

Re: [elixir-core:7144] [Proposal] Improve supported syntax in Doctest

2017-05-19 Thread José Valim
If they fit under the first case, then sure. But no special case should be added and we should not promote using comments for return types. If you write this: IEx> 1 #=> :oops We won't compare 1 with :oops. And there is no purpose in writing in the style above as nothing will be tested