<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>A cool way to find out whether a number is palindromic</title><link>http://weblogs.asp.net/esanchez/archive/2008/05/06/a-cool-way-to-find-out-whether-a-number-is-palindromic.aspx</link><description>In this blog entry I proposed a solution to Problem 4 at Project Euler , a crucial element of the problem is to find out whether a number is a palindrome (909 is, 809 isn't), a bit out of laziness and a bit in order to reuse existing methods, I decided</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>projecteuler</title><link>http://weblogs.asp.net/esanchez/archive/2008/05/06/a-cool-way-to-find-out-whether-a-number-is-palindromic.aspx#6218660</link><pubDate>Sat, 24 May 2008 20:49:21 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6218660</guid><dc:creator>projecteuler</dc:creator><author>projecteuler</author><description>&lt;p&gt;Pingback from &amp;nbsp;projecteuler&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6218660" width="1" height="1"&gt;</description></item><item><title>re: A cool way to find out whether a number is palindromic</title><link>http://weblogs.asp.net/esanchez/archive/2008/05/06/a-cool-way-to-find-out-whether-a-number-is-palindromic.aspx#6194848</link><pubDate>Fri, 16 May 2008 07:48:40 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6194848</guid><dc:creator>Jay</dc:creator><author>Jay</author><description>&lt;p&gt;The F# version is almost identical:&lt;/p&gt;
&lt;p&gt;let rec tailReverseNumber n res =&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;match n with&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;| 0 -&amp;gt; res&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;| _ -&amp;gt; tailReverseNumber (n/10) (10*res+n%10)&lt;/p&gt;
&lt;p&gt;let isPalindrome n =&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;n = tailReverseNumber n 0&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6194848" width="1" height="1"&gt;</description></item><item><title>re: A cool way to find out whether a number is palindromic</title><link>http://weblogs.asp.net/esanchez/archive/2008/05/06/a-cool-way-to-find-out-whether-a-number-is-palindromic.aspx#6164019</link><pubDate>Wed, 07 May 2008 01:44:20 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6164019</guid><dc:creator>rajbk</dc:creator><author>rajbk</author><description>&lt;p&gt;AFAIK and seen, even though the CLR supports tail recursion, the C# compiler has not implemented it yet.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=166013&amp;amp;wa=wsignin1.0"&gt;connect.microsoft.com/.../ViewFeedback.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Raj&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6164019" width="1" height="1"&gt;</description></item><item><title>re: A cool way to find out whether a number is palindromic</title><link>http://weblogs.asp.net/esanchez/archive/2008/05/06/a-cool-way-to-find-out-whether-a-number-is-palindromic.aspx#6162841</link><pubDate>Tue, 06 May 2008 18:22:33 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6162841</guid><dc:creator>Dustin Campbell</dc:creator><author>Dustin Campbell</author><description>&lt;p&gt;Very nicely done Edgar!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6162841" width="1" height="1"&gt;</description></item></channel></rss>