<div class="chatlog__message-group"> <div id="chatlog__message-container-1214129035307647026" class="chatlog__message-container" data-message-id="1214129035307647026"> <div class="chatlog__message"> <div class="chatlog__message-aside"><img class="chatlog__avatar" src="https://cdn.discordapp.com/avatars/341261694279876609/2ef749d900b0d6dffa48217f8717d009.png?size=512" alt="Avatar" loading="lazy"></div> <div class="chatlog__message-primary"> <div class="chatlog__header"><span class="chatlog__author" title="k_bo" data-user-id="341261694279876609">kebo</span> <a href="/channels/383442648012423179?category=main&channel=wasm&message_id=1214129035307647026"><span class="chatlog__timestamp" title="Monday, March 4, 2024 8:35 AM"></span></a><a href="#chatlog__message-container-1214129035307647026">3/4/2024 8:35 AM</a></div> <div class="chatlog__content chatlog__markdown"><span class="chatlog__markdown-preserve">これみたいに macro で自動生成できないんだろうか <a href="https://forums.swift.org/t/introducing-staticmemberiterable-swift-macro/65454">https://forums.swift.org/t/introducing-staticmemberiterable-swift-macro/65454</a></span></div> <div class="chatlog__embed"> <div class="chatlog__embed-color-pill" style="background-color:rgba(17,17,17,255)"></div> <div class="chatlog__embed-content-container"> <div class="chatlog__embed-content"> <div class="chatlog__embed-text"> <div class="chatlog__embed-title"><a class="chatlog__embed-title-link" href="https://forums.swift.org/t/introducing-staticmemberiterable-swift-macro/65454"> <div class="chatlog__markdown chatlog__markdown-preserve">Introducing <code class="chatlog__markdown-pre chatlog__markdown-pre--inline">StaticMemberIterable</code> Swift Macro!</div> </a></div> <div class="chatlog__embed-description"> <div class="chatlog__markdown chatlog__markdown-preserve">StaticMemberIterable Confidently cover all static members. Like CaseIterable, this macro creates an array of all the static members of a type. This is useful when a type has a few examples as static members. Here, we have a Chili type so that we can discuss the heat level and names of various chilis. So far, we have two: jalapeño and habenero. ...</div> </div> </div> <div class="chatlog__embed-thumbnail-container"><a class="chatlog__embed-thumbnail-link" href="https://images-ext-1.discordapp.net/external/88hU1LfKxeFyWSdlYoQ4j5JtJZsPVThjZ9MCw52kQos/https/global.discourse-cdn.com/swift/original/1X/0a90dde98a223f5841eeca49d89dc9f57592e8d6.png"> <img class="chatlog__embed-thumbnail" src="https://images-ext-1.discordapp.net/external/88hU1LfKxeFyWSdlYoQ4j5JtJZsPVThjZ9MCw52kQos/https/global.discourse-cdn.com/swift/original/1X/0a90dde98a223f5841eeca49d89dc9f57592e8d6.png" alt="Thumbnail" loading="lazy"> </a></div> </div> </div> </div> </div> </div> </div> </div>