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.
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
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
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