<div class="gmail_quote">On Jan 9, 2008 3:10 PM, Ralf Laemmel &lt;<a href="mailto:rlaemmel@gmail.com">rlaemmel@gmail.com</a>&gt; wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Type-level type cast is the type-level programmer&#39;s swiss army knife.&nbsp;</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>See the illustration below.
<br></blockquote><div><br class="webkit-block-placeholder"></div><div>Does this get any easier with type families? Your (TypeCast a b) seems similar in intent to (a ~ b), but I&#39;m not familiar enough with the latter to know whether it would work here.
</div></div><br>-- <br>Dave Menendez &lt;<a href="mailto:dave@zednenem.com">dave@zednenem.com</a>&gt;<br>&lt;<a href="http://www.eyrie.org/~zednenem/">http://www.eyrie.org/~zednenem/</a>&gt;