I see them as addressing separate issues.<br>
<br>They overlap in that they both address the notion of how to access attributes in some sense, but really they are complementary techniques.<br><br>HList as used by OOHaskell provides you with a mechanism by which you can define extensible records and structural subtyping.<br>
<br>Functional references let you both read and write &#39;attributes&#39; in a structure. These can be chained to access members of members.<br><br>These techniques can be used together to get extensible records that have settable fields in the form of functional references, where these references can be chained together.<br>
<br>HList/OOHaskell doesn&#39;t concern itself with the &#39;deep reference&#39; problem, and functional references do not concern themselves directly with extensible records.<br><br>-Edward Kmett<br><br><div class="gmail_quote">
2010/2/2 Günther Schmidt <span dir="ltr">&lt;<a href="mailto:gue.schmidt@web.de">gue.schmidt@web.de</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br>
<br>
I wonder if there is some a &quot;field of use&quot; overlap between HList and functional references aka accessors.<br>
<br>
Do both tackle the same problem?<br>
<br>
Günther<br>
<br>
<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div><br>