<?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: type_of(): Variable Type Detection in Erlang</title>
	<atom:link href="http://fullof.bs/type-of-variable-type-detection-in-erlang/feed/" rel="self" type="application/rss+xml" />
	<link>http://fullof.bs/type-of-variable-type-detection-in-erlang/</link>
	<description>He just never stops talking</description>
	<lastBuildDate>Fri, 16 Dec 2011 00:30:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: John Haugeland</title>
		<link>http://fullof.bs/type-of-variable-type-detection-in-erlang/comment-page-1/#comment-846</link>
		<dc:creator>John Haugeland</dc:creator>
		<pubDate>Sat, 26 Jul 2008 00:15:30 +0000</pubDate>
		<guid isPermaLink="false">http://fullof.bs/?p=275#comment-846</guid>
		<description>Mr. Gustafsson: it becomes clear that I need to read more about bitstrings.  Thank you for the clarification; expect a fix by monday.  (I believe this is also what Vlad was trying to tell me.)</description>
		<content:encoded><![CDATA[<p>Mr. Gustafsson: it becomes clear that I need to read more about bitstrings.  Thank you for the clarification; expect a fix by monday.  (I believe this is also what Vlad was trying to tell me.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Haugeland</title>
		<link>http://fullof.bs/type-of-variable-type-detection-in-erlang/comment-page-1/#comment-845</link>
		<dc:creator>John Haugeland</dc:creator>
		<pubDate>Sat, 26 Jul 2008 00:12:51 +0000</pubDate>
		<guid isPermaLink="false">http://fullof.bs/?p=275#comment-845</guid>
		<description>No, the point is that having to write out more than a dozen guards each time you want to discover something&#039;s type is silly and a hassle.</description>
		<content:encoded><![CDATA[<p>No, the point is that having to write out more than a dozen guards each time you want to discover something&#8217;s type is silly and a hassle.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Logan</title>
		<link>http://fullof.bs/type-of-variable-type-detection-in-erlang/comment-page-1/#comment-844</link>
		<dc:creator>Patrick Logan</dc:creator>
		<pubDate>Fri, 25 Jul 2008 22:13:39 +0000</pubDate>
		<guid isPermaLink="false">http://fullof.bs/?p=275#comment-844</guid>
		<description>&quot;...not realizing they’re expected to use is_foo() guards. This function, type_of(), resolves the issue.&quot;

I&#039;m not sure how type_of() resolves the issue of new programmers not realizing they should use guards.

But the implementation does server as a good example of using guards. Is that your point?

:-D</description>
		<content:encoded><![CDATA[<p>&#8220;&#8230;not realizing they’re expected to use is_foo() guards. This function, type_of(), resolves the issue.&#8221;</p>
<p>I&#8217;m not sure how type_of() resolves the issue of new programmers not realizing they should use guards.</p>
<p>But the implementation does server as a good example of using guards. Is that your point?<br />
 <img src='http://fullof.bs/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Per Gustafsson</title>
		<link>http://fullof.bs/type-of-variable-type-detection-in-erlang/comment-page-1/#comment-843</link>
		<dc:creator>Per Gustafsson</dc:creator>
		<pubDate>Fri, 25 Jul 2008 16:29:09 +0000</pubDate>
		<guid isPermaLink="false">http://fullof.bs/?p=275#comment-843</guid>
		<description>Binary is not deprecated. It is a subset of bitstrings. In fact it is the subset of bitstrings whose size in bits is evenly divisible by eight. This means that withyour current ordering the function will never return binay since all binaries are also bitstrings.</description>
		<content:encoded><![CDATA[<p>Binary is not deprecated. It is a subset of bitstrings. In fact it is the subset of bitstrings whose size in bits is evenly divisible by eight. This means that withyour current ordering the function will never return binay since all binaries are also bitstrings.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Haugeland</title>
		<link>http://fullof.bs/type-of-variable-type-detection-in-erlang/comment-page-1/#comment-842</link>
		<dc:creator>John Haugeland</dc:creator>
		<pubDate>Fri, 25 Jul 2008 15:45:57 +0000</pubDate>
		<guid isPermaLink="false">http://fullof.bs/?p=275#comment-842</guid>
		<description>That&#039;s interesting, Vlad.  I&#039;m glad you told me about the redundancy issue.  I&#039;ve removed that comment.

Before I re-order binary in front of bitstring, I&#039;d like to know why you believe returning binary is preferable; I was under the (possibly incorrect) belief that the title &quot;binary&quot; was deprecated.</description>
		<content:encoded><![CDATA[<p>That&#8217;s interesting, Vlad.  I&#8217;m glad you told me about the redundancy issue.  I&#8217;ve removed that comment.</p>
<p>Before I re-order binary in front of bitstring, I&#8217;d like to know why you believe returning binary is preferable; I was under the (possibly incorrect) belief that the title &#8220;binary&#8221; was deprecated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vlad Dumitrescu</title>
		<link>http://fullof.bs/type-of-variable-type-detection-in-erlang/comment-page-1/#comment-841</link>
		<dc:creator>Vlad Dumitrescu</dc:creator>
		<pubDate>Fri, 25 Jul 2008 11:32:31 +0000</pubDate>
		<guid isPermaLink="false">http://fullof.bs/?p=275#comment-841</guid>
		<description>Hi,

is_binary is not redundant in R12

4&gt; BS = &lt;&gt;.
&lt;&gt;
5&gt; is_binary(BS).
false
6&gt; is_bitstring(BS).
true

The question is if for a binary (as in the old kind) you want to return &#039;binary&#039; or &#039;bitstring&#039;. I think &#039;binary&#039; is correct, in which case that clause should be put before the bitstring one.

regards,
Vlad</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>is_binary is not redundant in R12</p>
<p>4&gt; BS = &lt;&gt;.<br />
&lt;&gt;<br />
5&gt; is_binary(BS).<br />
false<br />
6&gt; is_bitstring(BS).<br />
true</p>
<p>The question is if for a binary (as in the old kind) you want to return &#8216;binary&#8217; or &#8216;bitstring&#8217;. I think &#8216;binary&#8217; is correct, in which case that clause should be put before the bitstring one.</p>
<p>regards,<br />
Vlad</p>
]]></content:encoded>
	</item>
</channel>
</rss>

