02:39
frost joined
03:01
frost left
05:26
frost joined
05:42
frost left
07:25
camelia left
07:28
guifa joined,
camelia joined
09:07
dakkar joined
|
|||
Nemokosch | Okay, so if I have a multi and one parameter binding fails, shouldn't it attempt to use another binding? | 14:02 | |
oh okay, it should - but apparently not when cached | 14:03 | ||
guifa | I think the is cached trait is still a bit experimental | 16:05 | |
lizmat | yes, itis | 16:42 | |
17:23
dakkar left
|
|||
guifa | it's fairly easy to recreate the trait though as long as you can generate a unique identifier from the arguments. for example, I have a module that generates formatters on a combination of language / length / number type. my sub is | 18:07 | |
sub get-formatter ($lang, $len, $type) { state %cache; .return with %cache{"$lang $len $type"}; my &formatter = #`[actual generation code]; return %cache{"$lang $len $type"} := &formatter } | 18:09 | ||
19:55
jjkklll joined
20:09
jjkklll left
21:49
libbits joined
21:51
libbits left
|