Re: square root question

2019-12-15 Thread ToddAndMargo via perl6-users
On 2019-12-15 12:30, Simon Proctor wrote: https://docs.raku.org/language/optut This should cover it. On Sun, 15 Dec 2019, 20:17 ToddAndMargo via perl6-users, mailto:perl6-users@perl.org>> wrote: On 2019-12-15 02:56, Tobias Boege wrote: > On Sat, 14 Dec 2019, ToddAndMargo wrote:

Re: square root question

2019-12-15 Thread Simon Proctor
https://docs.raku.org/language/optut This should cover it. On Sun, 15 Dec 2019, 20:17 ToddAndMargo via perl6-users, < perl6-users@perl.org> wrote: > On 2019-12-15 02:56, Tobias Boege wrote: > > On Sat, 14 Dec 2019, ToddAndMargo wrote: > >> What am I doing wrong here? > >> > >>> multi prefix:<√>

Re: square root question

2019-12-15 Thread ToddAndMargo via perl6-users
On 2019-12-15 02:56, Tobias Boege wrote: On Sat, 14 Dec 2019, ToddAndMargo wrote: What am I doing wrong here? multi prefix:<√> (Cool:D $x) { $x.sqrt } :<√> say √2 ===SORRY!=== Argument to "say" seems to be malformed --> say⏏ √2 Bogus postfix If this is inside the REPL, it's not your

Re: square root question

2019-12-15 Thread Tobias Boege
On Sat, 14 Dec 2019, ToddAndMargo wrote: > What am I doing wrong here? > > > multi prefix:<√> (Cool:D $x) { $x.sqrt } > :<√> > > > say √2 > ===SORRY!=== > Argument to "say" seems to be malformed > --> say⏏ √2 > Bogus postfix If this is inside the REPL, it's not your fault. It's a known

Re: square root question

2019-12-14 Thread ToddAndMargo via perl6-users
On 2019-12-14 18:43, Tobias Boege wrote: On Sat, 14 Dec 2019, ToddAndMargo via perl6-users wrote: Hi All, Am I pushing it with the unicodes here? say 2.√ ===SORRY!=== Error while compiling: Malformed postfix call --> say 2.⏏√ √ is not a valid identifier character, so this can't be a

square root question

2019-12-14 Thread ToddAndMargo via perl6-users
Hi All, Am I pushing it with the unicodes here? say sqrt(2) 1.4142135623730951 say 2.sqrt 1.4142135623730951 say ½*2.sqrt 0.7071067811865476 say 2.√ ===SORRY!=== Error while compiling: Malformed postfix call --> say 2.⏏√ say √2 ===SORRY!=== Argument to "say" seems to be malformed