<div dir="ltr">Hi.<br><div class="gmail_extra"><br><div class="gmail_quote">On 28 May 2013 18:07, Frerich Raabe <span dir="ltr">&lt;<a href="mailto:raabe@froglogic.com" target="_blank">raabe@froglogic.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im"><br>
On May 28, 2013, at 12:36 AM, harry &lt;<a href="mailto:voldermort@hotmail.com">voldermort@hotmail.com</a>&gt; wrote:<br>
<br>
&gt; Every OO language which supports generics allows a declaration such as<br>
&gt; List&lt;Show&gt; alist, where Show is an interface. Any type implementing Show can<br>
&gt; be put in alist, and any Show operation can be performed on the alist&#39;s<br>
&gt; members. No casts, wrappers, or other special types and plumbing are needed.<br>
&gt;<br>
&gt; Why isn&#39;t it possible to do this directly in Haskell?<br>
<br>
</div>My impression is that you often don&#39;t have this requirement, since functions are first-class values and you can treat them as closures.<br></blockquote><div><br></div><div style>This might also be relevant: <a href="http://okmij.org/ftp/Computation/Existentials.html">http://okmij.org/ftp/Computation/Existentials.html</a></div>

<div style><br></div><div style>Hope this helps,</div><div style>Ozgur.</div><div style><br></div></div>
</div></div>