<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Mar 19, 2021, at 10:16 PM, Eric Seidel <<a href="mailto:eric@seidel.io" class="">eric@seidel.io</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 11px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Iavor's example of type synonyms is another inconsistency that doesn't seem to be motivated by a technical reason.</span></div></blockquote></div><br class=""><div class="">Good point. I suppose if we did allow type synonyms there, then GADT sigs really would become more like a superset of the grammar for types.</div><div class=""><br class=""></div><div class="">Note that Agda can pull this off:</div><div class=""><br class=""></div><div class=""><div class=""></div></div><blockquote type="cite" class=""><div class=""><div class="">data T : Set</div><div class=""><br class=""></div><div class="">syn : Set</div><div class="">syn = ℕ → T</div><div class=""><br class=""></div><div class="">syn2 : Bool → Set</div><div class="">syn2 false = ℕ → T</div><div class="">syn2 true = T</div><div class=""><br class=""></div><div class="">data T where</div><div class="">  MkT : syn</div><div class="">  MkT2 : syn2 false</div><div class="">  MkT3 : syn2 true</div></div></blockquote><div class=""><br class=""></div><div class="">This is accepted. `syn` is like a type synonym, while `syn2` is like a type family. I don't like having Agda out in front of Haskell in this way. :( Maybe we should just fix these problems instead of banning parens?</div><div class=""><br class=""></div><div class="">Richard</div></body></html>