<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: New: Module Extension in Erlang with Smerl</title>
	<atom:link href="http://yarivsblog.com/articles/2006/08/22/new-module-extension-in-erlang-with-smerl/feed/" rel="self" type="application/rss+xml" />
	<link>http://yarivsblog.com/articles/2006/08/22/new-module-extension-in-erlang-with-smerl/</link>
	<description>Adventures in Open Source Erlang</description>
	<lastBuildDate>Thu, 29 Apr 2010 00:37:22 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Yariv</title>
		<link>http://yarivsblog.com/articles/2006/08/22/new-module-extension-in-erlang-with-smerl/comment-page-1/#comment-304</link>
		<dc:creator>Yariv</dc:creator>
		<pubDate>Thu, 07 Sep 2006 06:14:35 +0000</pubDate>
		<guid isPermaLink="false">#comment-304</guid>
		<description>Brandon, thanks for the pointer. In my system, you can&#039;t really extrude several parents into the same module, but you can interatively extrude each parent into the result from the last extrusion. Then end result would be a module that includes the union of the child&#039;s functions plus all functions from the parents, where if a function has multiple &quot;instances&quot; across modules, only the first one is picked.
&lt;br /&gt;
The Smerl module extension is currenly useful for extension in runtime (that&#039;s what I needed it for) but it wouldn&#039;t be hard to spin it off as a compile-time script, which would effectively make an Erlang language extension (there would have to be a new convention for denoting the extension relations in compile-time, of course).</description>
		<content:encoded><![CDATA[<p>Brandon, thanks for the pointer. In my system, you can&#8217;t really extrude several parents into the same module, but you can interatively extrude each parent into the result from the last extrusion. Then end result would be a module that includes the union of the child&#8217;s functions plus all functions from the parents, where if a function has multiple &#8220;instances&#8221; across modules, only the first one is picked.<br />
<br />
The Smerl module extension is currenly useful for extension in runtime (that&#8217;s what I needed it for) but it wouldn&#8217;t be hard to spin it off as a compile-time script, which would effectively make an Erlang language extension (there would have to be a new convention for denoting the extension relations in compile-time, of course).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon</title>
		<link>http://yarivsblog.com/articles/2006/08/22/new-module-extension-in-erlang-with-smerl/comment-page-1/#comment-301</link>
		<dc:creator>Brandon</dc:creator>
		<pubDate>Wed, 06 Sep 2006 23:20:07 +0000</pubDate>
		<guid isPermaLink="false">#comment-301</guid>
		<description>The Haskell module system has syntax for re-exporting all the things imported from another module, and for importing all but a few things from another module. It&#039;s close to your extension operation, except you have to explicitly hide the things you want to replace. Details of the Haskell module system here: &lt;a href=&quot;http://haskell.org/onlinereport/modules.html&quot; rel=&quot;nofollow&quot;&gt;http://haskell.org/onlinereport/modules.html&lt;/a&gt;. What happens in your system if you extend (extrude?) several parents into a module?</description>
		<content:encoded><![CDATA[<p>The Haskell module system has syntax for re-exporting all the things imported from another module, and for importing all but a few things from another module. It&#8217;s close to your extension operation, except you have to explicitly hide the things you want to replace. Details of the Haskell module system here: <a href="http://haskell.org/onlinereport/modules.html" rel="nofollow">http://haskell.org/onlinereport/modules.html</a>. What happens in your system if you extend (extrude?) several parents into a module?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yariv</title>
		<link>http://yarivsblog.com/articles/2006/08/22/new-module-extension-in-erlang-with-smerl/comment-page-1/#comment-149</link>
		<dc:creator>Yariv</dc:creator>
		<pubDate>Wed, 23 Aug 2006 21:30:49 +0000</pubDate>
		<guid isPermaLink="false">#comment-149</guid>
		<description>Yes, I guess I had type classes in mind. I did a Haskell tutorial a while ago and I vaguely remembered this kind of &quot;inheritance&quot; but I didn&#039;t exactly know if it&#039;s the same as Smerl&#039;s module extension and I was too lazy to go read the documentation :)</description>
		<content:encoded><![CDATA[<p>Yes, I guess I had type classes in mind. I did a Haskell tutorial a while ago and I vaguely remembered this kind of &#8220;inheritance&#8221; but I didn&#8217;t exactly know if it&#8217;s the same as Smerl&#8217;s module extension and I was too lazy to go read the documentation :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Thomas</title>
		<link>http://yarivsblog.com/articles/2006/08/22/new-module-extension-in-erlang-with-smerl/comment-page-1/#comment-148</link>
		<dc:creator>Nick Thomas</dc:creator>
		<pubDate>Wed, 23 Aug 2006 17:42:56 +0000</pubDate>
		<guid isPermaLink="false">#comment-148</guid>
		<description>Oops, sorry for the double post. :/</description>
		<content:encoded><![CDATA[<p>Oops, sorry for the double post. :/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Thomas</title>
		<link>http://yarivsblog.com/articles/2006/08/22/new-module-extension-in-erlang-with-smerl/comment-page-1/#comment-147</link>
		<dc:creator>Nick Thomas</dc:creator>
		<pubDate>Wed, 23 Aug 2006 17:42:40 +0000</pubDate>
		<guid isPermaLink="false">#comment-147</guid>
		<description>Just FYI: Haskell doesn&#039;t have any form of module inheritance. (At least not in the standard; anything is possible with all of the different hacks on GHC that are out there.) Perhaps you&#039;re thinking of type classes? </description>
		<content:encoded><![CDATA[<p>Just FYI: Haskell doesn&#8217;t have any form of module inheritance. (At least not in the standard; anything is possible with all of the different hacks on GHC that are out there.) Perhaps you&#8217;re thinking of type classes?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Thomas</title>
		<link>http://yarivsblog.com/articles/2006/08/22/new-module-extension-in-erlang-with-smerl/comment-page-1/#comment-146</link>
		<dc:creator>Nick Thomas</dc:creator>
		<pubDate>Wed, 23 Aug 2006 17:42:39 +0000</pubDate>
		<guid isPermaLink="false">#comment-146</guid>
		<description>Just FYI: Haskell doesn&#039;t have any form of module inheritance. (At least not in the standard; anything is possible with all of the different hacks on GHC that are out there.) Perhaps you&#039;re thinking of type classes? </description>
		<content:encoded><![CDATA[<p>Just FYI: Haskell doesn&#8217;t have any form of module inheritance. (At least not in the standard; anything is possible with all of the different hacks on GHC that are out there.) Perhaps you&#8217;re thinking of type classes?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
