Scala 3でマクロで特定のsealed trait, classを継承したobjectを全て取得する

というのを書いたので貼っておきます。

Listで返す版と、Tupleで返す版。

gist.github.com

gist.github.com