<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Steve Horsfield</title>
	<atom:link href="http://stevehorsfield.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://stevehorsfield.wordpress.com</link>
	<description>Information Technology, Business, Politics, Philosophy, Religion and Theology</description>
	<lastBuildDate>Mon, 01 Apr 2013 06:34:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on F#: Composing Functions by Steve Horsfield</title>
		<link>http://stevehorsfield.wordpress.com/2009/08/24/f-composing-functions/#comment-1653</link>
		<dc:creator><![CDATA[Steve Horsfield]]></dc:creator>
		<pubDate>Mon, 01 Apr 2013 06:34:27 +0000</pubDate>
		<guid isPermaLink="false">http://stevehorsfield.wordpress.com/?p=313#comment-1653</guid>
		<description><![CDATA[Both are correct. 
When using a pipeline operator, the function on the right must take at least one operand. Currying is the method of taking a tuple input function and translating it into a series of function generating lambdas. That function has a single argument, no longer a tuple, that leads to another function that also expects a single argument. This approach is the default for functional programming and leads to what we describe as partial application because we choose to disregard the additional internal functions, but each of those is a curried function because each input can be applied singularly. 

The key here is that, usually, our function requires at least two arguments and these are supplied independently and not as a tuple. Only after we&#039;ve applied one argument is it a partially applied function, but even this is not strictly required.]]></description>
		<content:encoded><![CDATA[<p>Both are correct.<br />
When using a pipeline operator, the function on the right must take at least one operand. Currying is the method of taking a tuple input function and translating it into a series of function generating lambdas. That function has a single argument, no longer a tuple, that leads to another function that also expects a single argument. This approach is the default for functional programming and leads to what we describe as partial application because we choose to disregard the additional internal functions, but each of those is a curried function because each input can be applied singularly. </p>
<p>The key here is that, usually, our function requires at least two arguments and these are supplied independently and not as a tuple. Only after we&#8217;ve applied one argument is it a partially applied function, but even this is not strictly required.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on F#: Composing Functions by Shak</title>
		<link>http://stevehorsfield.wordpress.com/2009/08/24/f-composing-functions/#comment-1650</link>
		<dc:creator><![CDATA[Shak]]></dc:creator>
		<pubDate>Sun, 31 Mar 2013 20:05:10 +0000</pubDate>
		<guid isPermaLink="false">http://stevehorsfield.wordpress.com/?p=313#comment-1650</guid>
		<description><![CDATA[&gt;In other words, the pipeline operator takes the left operand (in this case x) and applies it to the curried function given as its right operand.

Just for my own understanding, should that read &quot;partially applied&quot; instead of &quot;curried&quot;? As currying is an operation on functions (and all functions in F# are curried by default)?]]></description>
		<content:encoded><![CDATA[<p>&gt;In other words, the pipeline operator takes the left operand (in this case x) and applies it to the curried function given as its right operand.</p>
<p>Just for my own understanding, should that read &#8220;partially applied&#8221; instead of &#8220;curried&#8221;? As currying is an operation on functions (and all functions in F# are curried by default)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on F#: Composing Functions by F# Weekly #52, 2012 &#8211; New Year Edition &#171; Sergey Tihon&#039;s Blog</title>
		<link>http://stevehorsfield.wordpress.com/2009/08/24/f-composing-functions/#comment-960</link>
		<dc:creator><![CDATA[F# Weekly #52, 2012 &#8211; New Year Edition &#171; Sergey Tihon&#039;s Blog]]></dc:creator>
		<pubDate>Sun, 30 Dec 2012 21:01:31 +0000</pubDate>
		<guid isPermaLink="false">http://stevehorsfield.wordpress.com/?p=313#comment-960</guid>
		<description><![CDATA[[...] Steve Horsfield published &#8220;F#: Composing Functions&#8220;. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Steve Horsfield published &#8220;F#: Composing Functions&#8220;. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ten tips for using and configuring Kerberos authentication on Windows by Chrome almost supports SSO in Windows Kerberos environments &#171; Steve Horsfield</title>
		<link>http://stevehorsfield.wordpress.com/2011/10/08/ten-tips-for-using-and-configuring-kerberos-authentication-on-windows/#comment-313</link>
		<dc:creator><![CDATA[Chrome almost supports SSO in Windows Kerberos environments &#171; Steve Horsfield]]></dc:creator>
		<pubDate>Sun, 09 Oct 2011 13:46:30 +0000</pubDate>
		<guid isPermaLink="false">http://stevehorsfield.wordpress.com/?p=433#comment-313</guid>
		<description><![CDATA[[...] about Google Chrome was taken from here: HTTP authentication [The Chromium Projects]. See my recent post about Kerberos in Windows for links to supporting Windows implementation materials.    [...]]]></description>
		<content:encoded><![CDATA[<p>[...] about Google Chrome was taken from here: HTTP authentication [The Chromium Projects]. See my recent post about Kerberos in Windows for links to supporting Windows implementation materials.    [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on NHibernate: How to filter on primitive collections by ivowiblo</title>
		<link>http://stevehorsfield.wordpress.com/2010/02/13/nhibernate-how-to-filter-on-primitive-collections/#comment-289</link>
		<dc:creator><![CDATA[ivowiblo]]></dc:creator>
		<pubDate>Tue, 23 Feb 2010 01:13:39 +0000</pubDate>
		<guid isPermaLink="false">http://stevehorsfield.wordpress.com/2010/02/13/nhibernate-how-to-filter-on-primitive-collections/#comment-289</guid>
		<description><![CDATA[Hi,
In hql you have the elements word that should help you.

from the documentation (https://www.hibernate.org/hib_docs/nhibernate/html/queryhql.html#queryhql-expressions): 

select mother from Eg.Cat as mother, Eg.Cat as kit
where kit in elements(mother.Kittens)

select p from Eg.NameList list, Eg.Person p
where p.Name = some elements(list.Names)

from Eg.Cat cat where exists elements(cat.Kittens)

from Eg.Player p where 3 &gt; all elements(p.Scores)

from Eg.Show show where &#039;fizard&#039; in indices(show.Acts)


Hope it helped!]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
In hql you have the elements word that should help you.</p>
<p>from the documentation (<a href="https://www.hibernate.org/hib_docs/nhibernate/html/queryhql.html#queryhql-expressions" rel="nofollow">https://www.hibernate.org/hib_docs/nhibernate/html/queryhql.html#queryhql-expressions</a>): </p>
<p>select mother from Eg.Cat as mother, Eg.Cat as kit<br />
where kit in elements(mother.Kittens)</p>
<p>select p from Eg.NameList list, Eg.Person p<br />
where p.Name = some elements(list.Names)</p>
<p>from Eg.Cat cat where exists elements(cat.Kittens)</p>
<p>from Eg.Player p where 3 &gt; all elements(p.Scores)</p>
<p>from Eg.Show show where &#8216;fizard&#8217; in indices(show.Acts)</p>
<p>Hope it helped!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on F#: Composing Functions by Andrew Garman</title>
		<link>http://stevehorsfield.wordpress.com/2009/08/24/f-composing-functions/#comment-265</link>
		<dc:creator><![CDATA[Andrew Garman]]></dc:creator>
		<pubDate>Wed, 18 Nov 2009 00:08:50 +0000</pubDate>
		<guid isPermaLink="false">http://stevehorsfield.wordpress.com/?p=313#comment-265</guid>
		<description><![CDATA[Excellent summary of and examples of composition and pipelines in F#!

There&#039;s also the triple pipeline operators:
&#124;&#124;&#124;&gt; 
&lt;&#124;&#124;&#124;

Also of note, F# type inference work best with forward pipelining and composition.]]></description>
		<content:encoded><![CDATA[<p>Excellent summary of and examples of composition and pipelines in F#!</p>
<p>There&#8217;s also the triple pipeline operators:<br />
|||&gt;<br />
&lt;|||</p>
<p>Also of note, F# type inference work best with forward pipelining and composition.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Worked Example: Programmatic Addition of a WPF Data Template to a Resource Dictionary by Steve Horsfield</title>
		<link>http://stevehorsfield.wordpress.com/2009/08/26/example-programmatic-addition-of-wpf-data-template/#comment-204</link>
		<dc:creator><![CDATA[Steve Horsfield]]></dc:creator>
		<pubDate>Thu, 22 Oct 2009 17:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://stevehorsfield.wordpress.com/?p=326#comment-204</guid>
		<description><![CDATA[Glad to help, although I am not sure I did!  You may be able to get around this by using your own dynamic assembly but you will probably need to wait until code generation is fully part of the .NET libraries -- Microsoft are planning this, but it may be .NET 5.0 (or later!).]]></description>
		<content:encoded><![CDATA[<p>Glad to help, although I am not sure I did!  You may be able to get around this by using your own dynamic assembly but you will probably need to wait until code generation is fully part of the .NET libraries &#8212; Microsoft are planning this, but it may be .NET 5.0 (or later!).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Worked Example: Programmatic Addition of a WPF Data Template to a Resource Dictionary by Matt</title>
		<link>http://stevehorsfield.wordpress.com/2009/08/26/example-programmatic-addition-of-wpf-data-template/#comment-200</link>
		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Thu, 22 Oct 2009 00:24:43 +0000</pubDate>
		<guid isPermaLink="false">http://stevehorsfield.wordpress.com/?p=326#comment-200</guid>
		<description><![CDATA[Thanks Steve, that is exactly what I am looking for.

Looks like I’m going to have to compile my custom dataTemplate :(

Cheers,
Matt]]></description>
		<content:encoded><![CDATA[<p>Thanks Steve, that is exactly what I am looking for.</p>
<p>Looks like I’m going to have to compile my custom dataTemplate :(</p>
<p>Cheers,<br />
Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Worked Example: Programmatic Addition of a WPF Data Template to a Resource Dictionary by Steve Horsfield</title>
		<link>http://stevehorsfield.wordpress.com/2009/08/26/example-programmatic-addition-of-wpf-data-template/#comment-197</link>
		<dc:creator><![CDATA[Steve Horsfield]]></dc:creator>
		<pubDate>Wed, 21 Oct 2009 09:08:01 +0000</pubDate>
		<guid isPermaLink="false">http://stevehorsfield.wordpress.com/?p=326#comment-197</guid>
		<description><![CDATA[Hi Matt,

I am not sure you will be able to make it work (certainly not easily) because of the way FSI creates classes.  In particular, you cannot use namespaces directly.  Instead, FSI creates namespaces implicitly.  Here is a very simple test using a clean FSI environment:

&lt;code&gt;let docClass o = printf &quot;%s (%s)\n&quot; (o.GetType().FullName) (o.GetType().Assembly.FullName);;&lt;/code&gt;

&lt;code&gt;type C() = member s.m() = ();;&lt;/code&gt;

&lt;code&gt;module X = type D() = member s.m() = ();;&lt;/code&gt;

&lt;code&gt;docClass (new C()) ; docClass (new X.D()) ;;&lt;/code&gt;

In my case, the response is:

&lt;code&gt;FSI_0002+C (FSI-ASSEMBLY, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)
FSI_0009+X+D (FSI-ASSEMBLY, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)&lt;/code&gt;

Further investigation shows that FSI creates a dynamic assembly that does not support the Assembly CodeBase property and so you are quite limited in how you can reference it.

I hope that helps a little.  Let me know if I have misunderstood your problem.

Steve]]></description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>I am not sure you will be able to make it work (certainly not easily) because of the way FSI creates classes.  In particular, you cannot use namespaces directly.  Instead, FSI creates namespaces implicitly.  Here is a very simple test using a clean FSI environment:</p>
<p><code>let docClass o = printf "%s (%s)\n" (o.GetType().FullName) (o.GetType().Assembly.FullName);;</code></p>
<p><code>type C() = member s.m() = ();;</code></p>
<p><code>module X = type D() = member s.m() = ();;</code></p>
<p><code>docClass (new C()) ; docClass (new X.D()) ;;</code></p>
<p>In my case, the response is:</p>
<p><code>FSI_0002+C (FSI-ASSEMBLY, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)<br />
FSI_0009+X+D (FSI-ASSEMBLY, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)</code></p>
<p>Further investigation shows that FSI creates a dynamic assembly that does not support the Assembly CodeBase property and so you are quite limited in how you can reference it.</p>
<p>I hope that helps a little.  Let me know if I have misunderstood your problem.</p>
<p>Steve</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Worked Example: Programmatic Addition of a WPF Data Template to a Resource Dictionary by Matt</title>
		<link>http://stevehorsfield.wordpress.com/2009/08/26/example-programmatic-addition-of-wpf-data-template/#comment-195</link>
		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Wed, 21 Oct 2009 08:28:01 +0000</pubDate>
		<guid isPermaLink="false">http://stevehorsfield.wordpress.com/?p=326#comment-195</guid>
		<description><![CDATA[Hi Steve,

I love this example, but I’m having a hard time getting it to work with new types specified in F# Interpreter (i.e. not in any assembly). Is there a namespace for the FSI that I can’t find? Or another way around this?

Much appreciated.

Matt]]></description>
		<content:encoded><![CDATA[<p>Hi Steve,</p>
<p>I love this example, but I’m having a hard time getting it to work with new types specified in F# Interpreter (i.e. not in any assembly). Is there a namespace for the FSI that I can’t find? Or another way around this?</p>
<p>Much appreciated.</p>
<p>Matt</p>
]]></content:encoded>
	</item>
</channel>
</rss>
