<?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: F#: Entry point of an application</title>
	<atom:link href="http://www.markhneedham.com/blog/2009/05/02/f-entry-point-of-an-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markhneedham.com/blog/2009/05/02/f-entry-point-of-an-application/</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: F#: Discriminated Unions &#171; Tales from a Trading Desk</title>
		<link>http://www.markhneedham.com/blog/2009/05/02/f-entry-point-of-an-application/comment-page-1/#comment-33164</link>
		<dc:creator>F#: Discriminated Unions &#171; Tales from a Trading Desk</dc:creator>
		<pubDate>Wed, 10 Mar 2010 12:58:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=1188#comment-33164</guid>
		<description>[...] notice I am now using [] in the code, since I have multiple files which means you need to be aware of the project file [...]</description>
		<content:encoded><![CDATA[<p>[...] notice I am now using [] in the code, since I have multiple files which means you need to be aware of the project file [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Devlin</title>
		<link>http://www.markhneedham.com/blog/2009/05/02/f-entry-point-of-an-application/comment-page-1/#comment-16271</link>
		<dc:creator>Sean Devlin</dc:creator>
		<pubDate>Wed, 06 May 2009 12:38:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=1188#comment-16271</guid>
		<description>Sorry, formatting didn&#039;t work . . . let me try again.

let main =
&#160;&#160;&#160;&#160;printfn &quot;doing some work...&quot;

main()</description>
		<content:encoded><![CDATA[<p>Sorry, formatting didn&#8217;t work . . . let me try again.</p>
<p>let main =<br />
&nbsp;&nbsp;&nbsp;&nbsp;printfn &#8220;doing some work&#8230;&#8221;</p>
<p>main()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Devlin</title>
		<link>http://www.markhneedham.com/blog/2009/05/02/f-entry-point-of-an-application/comment-page-1/#comment-16270</link>
		<dc:creator>Sean Devlin</dc:creator>
		<pubDate>Wed, 06 May 2009 12:37:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=1188#comment-16270</guid>
		<description>Mark,
I think what you really need to do is to invoke main as the last line of your file. Think of it this way: when you run your app, it&#039;s going to go straight down and run every piece of code. So you can think of everything else in the file as being setup for your main function. Does main actually need to be last? No, but you won&#039;t necessarily see the effects of anything defined after its invocation. The common idiom is to do something like this:

let main =
    printfn &quot;doing some work...&quot;
main()

Hope this helps. Hit me back if this isn&#039;t clear, it&#039;s still a little early for me . . .</description>
		<content:encoded><![CDATA[<p>Mark,<br />
I think what you really need to do is to invoke main as the last line of your file. Think of it this way: when you run your app, it&#8217;s going to go straight down and run every piece of code. So you can think of everything else in the file as being setup for your main function. Does main actually need to be last? No, but you won&#8217;t necessarily see the effects of anything defined after its invocation. The common idiom is to do something like this:</p>
<p>let main =<br />
    printfn &#8220;doing some work&#8230;&#8221;<br />
main()</p>
<p>Hope this helps. Hit me back if this isn&#8217;t clear, it&#8217;s still a little early for me . . .</p>
]]></content:encoded>
	</item>
</channel>
</rss>

