PropertyValue
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/ns/prov#value
  • Bar a =&gt; HasBar a<br><br>class Cls c where<br>????????? foo :: c -&gt; HasBar<br><br>You then have to wrap the result of &quot;foo&quot; by &quot;HasBar&quot;; then you can get the instance back out by case-matching on HasBar.??? This is basically the same as Miguel&#39;s solution of returning a dictionary, except the dictionary is implicitly held in the existential instead of explicit.<br>
http://www.w3.org/ns/prov#wasQuotedFrom
  • haskell.org