Welcome the channel on the development of Cro, a set of libraries for building reactive distributed systems, lovingly crafted to take advantage of all the Raku Programming Language has to offer (cro.services). This channel is being logged for historical purposes.
Set by lizmat on 24 May 2021.
00:15 Geth left, Geth joined 00:20 Geth left, Geth joined 00:27 [Coke]_ joined 00:29 [Coke] left 00:30 [Coke]_ is now known as [Coke] 04:48 xinming left 04:50 xinming joined 13:20 Altai-man joined 14:09 Altai-man left, Altai-man joined, japhb left 14:38 japhb joined 15:45 [Coke] left 15:47 [Coke] joined 17:44 Altai-man left
Geth cro-webapp/structural-tags: b26c21341d | (Jonathan Worthington)++ | 4 files
Implement conditional structural tags

So `<?.website a href="<.website>">Visit Website</?>` will render the anchor tag if the condition is true, placing the closing `</a>` as if it were written prior to the `</?>`. Works for negative conditions also.
22:11
cro-webapp/structural-tags: 0ead24e74b | (Jonathan Worthington)++ | 5 files
Implement conditional iteration tags

So that instead of `<@.foo><li><$_></li></@>`, one can instead write
  `<@.foo li><$_></li>` to achieve the same result.
japhb jnthnwrthngtn: Given your above commits, what's the new idiom for showing a list *or* showing a replacement of a different type, like <p> or so? 22:16
23:10 melezhik joined
jnthnwrthngtn japhb: If I understand what you mean, it means you'd get to do now: <?.foo ul><@.foo li><$_></@></?> <!.foo p>...</!> 23:18
Which saves the </ul>, </li>, and </p> having to be written
23:20 melezhik left
japhb OK, makes sense, thank you. 23:33
jnthnwrthngtn I'm pondering that a bare <!>...</!> (without a condition) could immediately follow a <?.foo>...</?> (well, whitespace allowed between them) and serve as an "else" 23:39
japhb jnthnwrthngtn: Well, as long as "immediately follow" allows whitespace between, yeah, I like that idea. 23:40
jnthnwrthngtn Then it'd be <! p>...</!> and one less mention of the `.foo`
Although it arguably looks a tad odd :) 23:41
Anyway, sleep time for me o/ 23:42
japhb Good night! 23:46