<?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: Coding Dojo #12: F#</title>
	<atom:link href="http://www.markhneedham.com/blog/2009/04/16/coding-dojo-12-f/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markhneedham.com/blog/2009/04/16/coding-dojo-12-f/</link>
	<description>Thoughts on Software Development</description>
	<lastBuildDate>Sat, 11 Feb 2012 23:17:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Dave Cameron</title>
		<link>http://www.markhneedham.com/blog/2009/04/16/coding-dojo-12-f/comment-page-1/#comment-15045</link>
		<dc:creator>Dave Cameron</dc:creator>
		<pubDate>Wed, 22 Apr 2009 03:39:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=1131#comment-15045</guid>
		<description>I didn&#039;t insist on it at the dojo, but I think instead of writing the function

[] let should_do_something() = Assert.AreEqual(2,2)

it would be more idiomatic to write it as

[] let should_do_something () = Assert.AreEqual(2,2)

The extra space implies that should_do_something is a function, which takes one argument which is a unit. This is more similar to the syntax for declaring a one argument function where the argument is actually a value, such as

let square_it x = x * x</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t insist on it at the dojo, but I think instead of writing the function</p>
<p>[] let should_do_something() = Assert.AreEqual(2,2)</p>
<p>it would be more idiomatic to write it as</p>
<p>[] let should_do_something () = Assert.AreEqual(2,2)</p>
<p>The extra space implies that should_do_something is a function, which takes one argument which is a unit. This is more similar to the syntax for declaring a one argument function where the argument is actually a value, such as</p>
<p>let square_it x = x * x</p>
]]></content:encoded>
	</item>
</channel>
</rss>

