On Sat, Jan 7, 2017 at 4:19 PM, Moritz Lenz <mor...@faui2k3.org> wrote:
> > How is this an > > "exaggerated" use of containers? Why have the language feature at all if > > it's too clunky for people to use it? > > I'm not saying it's always too clunky to use. I'm saying there's a cost > attached, and you should consider whether to use it. > > I observe some weird behavior in Perl 6 newbies (and I've observed it in > myself too): they're so enamored by type constraints that they use them > everywhere, and run into all sorts of type errors they didn't expect. > Thanks for replying! I my case, what I was trying to do is getting some strings in order to pass them over to a C function via NativeCall. Being sure the passed value was actually a string is not a whim, but would be useful in avoiding a segmentation fault. Yet I figure that as long as anyone behaves it will all run smoothly enough and I understand that using Perl6 to interface one's program to a C library is not the best use case for a high level functional language ;-) -- Fernando Santagata