00:48 deoac left 01:44 sibl joined 04:53 sibl left 05:53 sibl joined 05:57 sibl left 06:00 sibl joined 06:02 human-blip left 06:04 human-blip joined 06:24 sibl left, sibl joined 06:30 samebchase left 07:43 lizmat left 08:10 deadmarshal left 08:35 sibl left 08:39 sibl joined 08:53 samebchase joined 09:00 deadmarshal joined 09:10 dakkar joined 09:51 sibl left 09:59 librasteve_ left 13:16 lizmat joined
disbot2 <antononcube> Is there are way have and optional wrappers being executed when a package is loaded? Similar to the export tags. 13:40
<antononcube> For example, use CortexJS :WRAPPERS would create wrapers of certain routines of "CortexJS". Maybe, this can be done with package phasers? 13:41
13:43 sibl joined 14:11 sibl left
lizmat an INIT block in the package ? 14:27
disbot2 <antononcube> I experimented with INIT before, maybe it is going to work. But I still need to catch the tag/option argument given to use. 14:35
<antononcube> This is not that important. First I have to make wrapper-on/off subs that do the actual wrapping and unwrapping. 14:37
15:25 human-blip left 15:27 human-blip joined 15:43 human-blip left 15:45 human-blip joined 15:52 habere-et-disper joined 15:58 habere-et-disper left 16:14 habere-et-disper joined 16:21 habere-et-disper left 16:40 habere-et-disper joined
dakkar antononcube: docs.raku.org/language/using-modul...ynamically might be relevant? 17:26
package CortexJS { my package EXPORT::WRAPPERS { for $methods { OUR::{"&{$_}"} := sub { … } } } } # or something like that 17:27
17:30 habere-et-disper left
disbot2 <antononcube> Thank you! 17:31
17:35 dakkar left 20:01 librasteve_ joined 20:57 notna joined