<?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"
	>
<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>
	<pubDate>Sat, 22 Nov 2008 03:19:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Yariv</title>
		<link>http://yarivsblog.com/articles/2006/08/22/new-module-extension-in-erlang-with-smerl/#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'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's functions plus all functions from the parents, where if a function has multiple "instances" across modules, only the first one is picked.
&lt;br /&gt;
The Smerl module extension is currenly useful for extension in runtime (that's what I needed it for) but it wouldn'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-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'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="http://haskell.org/onlinereport/modules.html" rel="nofollow"&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-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 "inheritance" but I didn't exactly know if it's the same as Smerl'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-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-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'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'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-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'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'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>
