<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 16, 2015, at 2:40 PM, T.J. Usiyan &lt;<a href="mailto:griotspeak@gmail.com" class="">griotspeak@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">The ideal situation would involve being able to represent monad and being able to type alias the behavior that that would afford us 'for free' to specific named functions methods for our specific types, I think.<div class=""><br class=""></div><div class="">The concrete example of a HKT's usefullness that I am after is captured here with [Causal Commutative Arrows](<a href="http://cs.yale.edu/c2/images/uploads/ICFP-CCA.pdf" class="">http://cs.yale.edu/c2/images/uploads/ICFP-CCA.pdf</a>). I admit that the big win has to do with the compile time optimization afforded, but I will argue that the syntax's similarity to audio related pseudocode is just as big of a win. [These slides](<a href="http://static1.squarespace.com/static/53e04d59e4b0c0da377d20b1/t/541cb6eee4b0be37af62e23f/1411167982496/nichoiceICFP2014Presentation.pdf" class="">http://static1.squarespace.com/static/53e04d59e4b0c0da377d20b1/t/541cb6eee4b0be37af62e23f/1411167982496/nichoiceICFP2014Presentation.pdf</a>) give a hint at what I am talking about. I agree that using "Monad" everywhere is not generally descriptive but I think that that is simply an issue of being able to document intent.</div></div></div></blockquote><br class=""></div><div>I’d just like to point out that I’ve been asking for concrete examples of how Swift programmers would benefit from higher-kinded types in their daily development, but I’ve received links to ICFP papers and lists of Haskell abstractions (Monad, Functor, Applicative) that only a type-theorist can understand. At best, this is a public-relations problem for higher-kinded types, because the vast majority of Swift developers—and also of members of this list—won’t be able to readily translate the content behind those links into “how does this improve my Swift code?” At worst, it’s a signal that this feature might not be of practical relevance to Swift, either because it solves problems Swift programmers don’t have or because it requires a thorough reading of TaPL to understand.</div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>- Doug</div><div><br class=""></div><br class=""></body></html>