Re: Raku-LibCurl:ver<1.0> install error on older MacOS?

2020-07-11 Thread William Michels via perl6-users
Thank you, Vadim, for your kind reply. I wondered if a recent commit to Raku-LibCurl may have improved installation/loading on Linux machines, while simultaneously breaking installation/loading on MacOS:

Re: Raku-LibCurl:ver<1.0> install error on older MacOS?

2020-07-11 Thread Vadim Belman
You have so many things messed up in a single mail, it's hard to choose the one to start with. By attempting to install the module myself I suddenly spotted it at once: the module is buggy and need fixing. macOS doesn't support .so format. Instead, it's using own .dylib. It's hard to tell what

Re: cannot create an instance of subset type

2020-07-11 Thread Ben Davies
It looks like you're trying to create an alias for a type. I'd use a constant for this, not a subset, for reasons Brad has already explained. Your code runs fine for me when DEF is written like my constant DEF = ABC.

Re: cannot create an instance of subset type

2020-07-11 Thread Elizabeth Mattijsen
> On 10 Jul 2020, at 23:37, Brad Gilbert wrote: > I honestly think that there is an argument to be made that it shouldn't even > be possible to write a `subset` without a `where` clause. Making the "where" clause non-optional, is remarkably simple: removing a '?' However, there appear to be

Re: cannot create an instance of subset type

2020-07-11 Thread Marcel Timmerman
On 2020-07-10 23:37, Brad Gilbert wrote: Subset types are not object types. A subset is basically a bit of checking code and base type associated with a new type name. In something like:     my ABC $a .= new; That is exactly the same as:     my ABC $a = ABC.new; Well there is no