kakkun61
type families に data-type families と closed type-synonym families があるけど closed data-type families はないという認識で合ってますか?
みたいなのはできない?
https://gitlab.haskell.org/ghc/ghc/-/wikis/type-functions/
https://wiki.haskell.org/GHC/Type_families
data family Foo a where Foo Int = Bar Foo Char = Buzz
みたいなのはできない?
https://gitlab.haskell.org/ghc/ghc/-/wikis/type-functions/
https://wiki.haskell.org/GHC/Type_families