module ecosystem and cpan6 and consistency

2017-10-16 Thread Richard Hainsworth
When panda was first introduced as the 'adopted' module or package manager for rakudo, a file containing the meta information for all the modules, located at "http://ecosystem-api.p6c.org/projects.json;, was established. At the time, the developers said that the meta information file was

module ecosystem and cpan6 and consistency

2017-10-16 Thread Richard Hainsworth
When panda was first introduced as the first module or package manager, a file containing the meta information for all the modules, located at "http://ecosystem-api.p6c.org/projects.json; was established. At the time, the developers said that the meta information file was designed to be

Re: Is Haskell the right language for teaching FP. No!

2017-10-16 Thread Brent Laabs
It'd probably be just as useful to reply here: https://news.ycombinator.com/item?id=15483195 On Mon, Oct 16, 2017 at 5:03 PM, Norman Gaywood wrote: > Someone should mention perl6 :-) > > http://profsjt.blogspot.com.au/2017/10/is-haskell-right- > language-for-teaching.html >

Is Haskell the right language for teaching FP. No!

2017-10-16 Thread Norman Gaywood
Someone should mention perl6 :-) http://profsjt.blogspot.com.au/2017/10/is-haskell-right-language-for-teaching.html -- Norman Gaywood, Computer Systems Officer School of Science and Technology University of New England Armidale NSW 2351, Australia ngayw...@une.edu.au

Re: Error Handling with IO::Socket.:Async::SLL

2017-10-16 Thread Martin Barth
I've changed the code to this, It's better but still not correct. 1) curl with http hangs and must be terminated with Ctrl+C 2) the code now restarts the server socket, which I also dont expect to happen. use v6; use IO::Socket::Async::SSL; sub auto-restart(Supply $incoming) {     supply {

Re: Error Handling with IO::Socket.:Async::SLL

2017-10-16 Thread Timo Paulssen
It took me a while, but I just found jnthn's automatic retry code for supply-based things again. It's in these slides http://jnthn.net/papers/2017-perl6-concurrency-pcp.pdf on page 83 You'll want to use "supply" instead of "react" for your server and pass that to the auto-retry function.

Error Handling with IO::Socket.:Async::SLL

2017-10-16 Thread Martin Barth
Hi there, I need your help. I've been playing around with the code example from IO::Socket::Async::SSL and I am to stupid to get a propper error handling to work. use v6; use IO::Socket::Async::SSL; react {     my %ssl-config =     certificate-file => 'cert.pem',