On Jan 24, 2015, at 19:45 , [email protected] wrote: > > On Sunday, January 25, 2015 at 6:50:31 AM UTC+10, Erik Schnetter wrote: > ... and then we can also allow functions calls with white-space syntax? > > y = sqrt x > > Adds more ambiguities though, is sqrt x+y sqrt(x)+y or sqrt(x+y) ?
No it doesn't -- it would use the same rules that a "@sqrt x+y" would use today. But I was probably just kidding. Function call syntax isn't actually a problem for me. I just noticed the possibility of using non-parenthethical function calls and thought I'd comment. -erik > > On Jan 24, 2015, at 15:48 , Ivar Nesje <[email protected]> wrote: > > > > See also #7232 where the suggestion is to disallow space before the > > parenthesis in function definitions and function calls. That will at least > > make julia code more consistent in that functions and macros work more > > similarly. > > > > lørdag 24. januar 2015 17.00.17 UTC+1 skrev Erik Schnetter følgende: > > On Jan 24, 2015, at 2:53 , Ivar Nesje <[email protected]> wrote: > > > > > > See also > > > > > > @test(1, 2, 3, 4) > > > > ... and compare this to > > > > @test (1, 2, 3, 4) > > > > (with white space before the parenthesis). > > > > That's a part of Julia's syntax that I don't like. On the other hand, the > > ability to pass whitespace-separated arguments to macros instead of only > > comma-separated values is a very powerful feature, as it allows passing in > > statements without having to wrap them in parentheses. > > > > -erik > > > > -- > > Erik Schnetter <[email protected]> > > http://www.perimeterinstitute.ca/personal/eschnetter/ > > > > My email is as private as my paper mail. I therefore support encrypting > > and signing email messages. Get my PGP key from https://sks-keyservers.net. > > > > -- > Erik Schnetter <[email protected]> > http://www.perimeterinstitute.ca/personal/eschnetter/ > > My email is as private as my paper mail. I therefore support encrypting > and signing email messages. Get my PGP key from https://sks-keyservers.net. > -- Erik Schnetter <[email protected]> http://www.perimeterinstitute.ca/personal/eschnetter/ My email is as private as my paper mail. I therefore support encrypting and signing email messages. Get my PGP key from https://sks-keyservers.net.
signature.asc
Description: Message signed with OpenPGP using GPGMail
