Re: Trig Functions to-radians and from-radians

2015-03-17 Thread Paul Cochrane
Hi Tom, On Tue, Mar 17, 2015 at 12:52:42PM -0500, Tom Browder wrote: Those two functions are documented here: http://design.perl6.org/S32/Numeric.html#Trigonometric_functions but I have tried to use them with no luck: say 10.to-radians(Degrees); Undeclared name: Degrees used

Re: Trig Functions to-radians and from-radians

2015-03-17 Thread Tom Browder
On Tue, Mar 17, 2015 at 1:54 PM, Paul Cochrane p...@liekut.de wrote: Hi Tom, On Tue, Mar 17, 2015 at 12:52:42PM -0500, Tom Browder wrote: Those two functions are documented here: http://design.perl6.org/S32/Numeric.html#Trigonometric_functions but I have tried to use them with no luck:

Trig Functions to-radians and from-radians

2015-03-17 Thread Tom Browder
Those two functions are documented here: http://design.perl6.org/S32/Numeric.html#Trigonometric_functions but I have tried to use them with no luck: say 10.to-radians(Degrees); Undeclared name: Degrees used at line 9 So how does one use the two functions? Best, -Tom

Re: Carp and Croak

2015-03-17 Thread Tom Browder
On Sun, Mar 15, 2015 at 8:32 PM, Tom Browder tom.brow...@gmail.com wrote: How can I replace Carp and Croak in Perl 6? According to TimToady on #perl6, to be honest, we haven't thought much about carp/croak yet. So I'm using die until something better comes along. -Tom