Re: is inlinable trait missing from docs

2019-07-13 Thread JJ Merelo
Most traits are not properly documented, see here https://github.com/perl6/doc/issues/2718 for instance. Even if it's not user-friendly, it's always better to make some reference even if only to avoid confusion just like this email. So I guess we'll get to it eventually... El sáb., 13 jul. 2019 a

Re: is inlinable trait missing from docs

2019-07-13 Thread Marcel Timmerman
Thanks very much, I'll look into it First off, a correction: liz found that the trait_mod: candidate for "inlinable" is actually used internally. Here's a link to the source to get you started, it's got a good comment at the start about how rakudo's own inliner works:

Re: is inlinable trait missing from docs

2019-07-13 Thread Timo Paulssen
First off, a correction: liz found that the trait_mod: candidate for "inlinable" is actually used internally. Here's a link to the source to get you started, it's got a good comment at the start about how rakudo's own inliner works:

Re: is inlinable trait missing from docs

2019-07-13 Thread Marcel Timmerman
On 7/13/19 12:37 PM, Timo Paulssen wrote: I wouldn't put "is inlinable" in the docs; it requires the user to put a QAST tree in the value, which isn't a thing an end-user would touch, IMO. In fact I'm not sure why we have a trait for that at all, since it's not used anywhere in rakudo's source.

Re: is inlinable trait missing from docs

2019-07-13 Thread Timo Paulssen
I wouldn't put "is inlinable" in the docs; it requires the user to put a QAST tree in the value, which isn't a thing an end-user would touch, IMO. In fact I'm not sure why we have a trait for that at all, since it's not used anywhere in rakudo's source. On 13/07/2019 12:33, Marcel Timmerman

is inlinable trait missing from docs

2019-07-13 Thread Marcel Timmerman
Hi, I found out about a trait 'is inlinable' when I made a typo in using a trait on subs. There is no documentation for it so I thought maybe it is not implemented, experimental or some other reason it is kept out of the docs. Otherwise it should be documented too. Great work on the