<?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#: Useful for scripting</title>
	<atom:link href="http://www.markhneedham.com/blog/2009/06/09/f-useful-for-scripting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markhneedham.com/blog/2009/06/09/f-useful-for-scripting/</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: Steve</title>
		<link>http://www.markhneedham.com/blog/2009/06/09/f-useful-for-scripting/comment-page-1/#comment-18694</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 15 Jun 2009 16:17:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=1313#comment-18694</guid>
		<description>As you&#039;re already using System.IO, you might as well make use of its path manipulation types, rather than reinventing the wheel -- and getting rid of the disliked &#039;get_position_of_last_folder&#039; function into the bargain:

let get_last_folder_name (dir:string) = Path.GetFileName(dir)
let get_rest_of_dir_name (dir:string) = Path.GetDirectoryName(dir)</description>
		<content:encoded><![CDATA[<p>As you&#8217;re already using System.IO, you might as well make use of its path manipulation types, rather than reinventing the wheel &#8212; and getting rid of the disliked &#8216;get_position_of_last_folder&#8217; function into the bargain:</p>
<p>let get_last_folder_name (dir:string) = Path.GetFileName(dir)<br />
let get_rest_of_dir_name (dir:string) = Path.GetDirectoryName(dir)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

