<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>F# on naveen srinivasan</title><link>https://naveensrinivasan.com/categories/f%23/</link><description>Recent content in F# on naveen srinivasan</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 12 Jan 2016 22:33:14 +0000</lastBuildDate><atom:link href="https://naveensrinivasan.com/categories/f%23/index.xml" rel="self" type="application/rss+xml"/><item><title>Solution to Adventcode Day 7 in FSharp</title><link>https://naveensrinivasan.com/?p=2641/</link><pubDate>Tue, 12 Jan 2016 22:33:14 +0000</pubDate><guid>https://naveensrinivasan.com/?p=2641/</guid><description>&lt;p&gt;Here is my solution to &lt;!-- raw HTML omitted --&gt;adventcode problem 7 &lt;!-- raw HTML omitted --&gt; using F#.&lt;/p&gt;&#10;&lt;p&gt;I am using the adventofcode to improve my functional programming skills. The gist of the problem is to solve the logic gates which is represented as 16 bit integer’s  and these depend on other gates.&lt;/p&gt;&#10;&lt;p&gt;The puzzle starts of with simple problem&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;code&gt;123 -&amp;gt; x&lt;/code&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;456 -&amp;gt; y&lt;/code&gt;&lt;/li&gt;&#10;&lt;li&gt;``Here is my solution to &lt;!-- raw HTML omitted --&gt;adventcode problem 7 &lt;!-- raw HTML omitted --&gt; using F#.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;I am using the adventofcode to improve my functional programming skills. The gist of the problem is to solve the logic gates which is represented as 16 bit integer’s  and these depend on other gates.&lt;/p&gt;</description></item><item><title>fsharp docker image</title><link>https://naveensrinivasan.com/?p=2481/</link><pubDate>Wed, 11 Nov 2015 02:41:14 +0000</pubDate><guid>https://naveensrinivasan.com/?p=2481/</guid><description>&lt;p&gt;The fsharp project has a official docker image &lt;!-- raw HTML omitted --&gt;&lt;a href="https://github.com/fsprojects/docker-fsharp"&gt;https://github.com/fsprojects/docker-fsharp&lt;/a&gt;&lt;!-- raw HTML omitted --&gt; . The one issue with that is it is based on mono 4.0.4 which is buggy and fsharp does not work very well. The latest alpha release of the mono with which fsharp works well is 4.2.0. The 4.2.0 isn’t available in stable channels.&lt;/p&gt;&#10;&lt;p&gt;So I created a docker image with the latest mono from their alpha repo and using the latest fsharp from the github.&lt;/p&gt;</description></item><item><title>Using F# to Automate Reading–The Morning Brew</title><link>https://naveensrinivasan.com/?p=997/</link><pubDate>Fri, 16 Jul 2010 04:27:24 +0000</pubDate><guid>https://naveensrinivasan.com/?p=997/</guid><description>&lt;p&gt;I guess most of the .NET Devs read &lt;a href="http://blog.cwa.me.uk/"&gt;The Morning Brew&lt;/a&gt;, if not you should.  It is a morning newspaper for the dev, so I end up reading it first thing when I go to work. I like to  try and automate most of the stuff . So I thought why not write a script that reads the Morning Brew feed, filter the excluded content that I am not interested in and open the urls before I come in. The reason behind using F# is I don’t have to compile the code. I could use it with FSI.exe. Incase if the extraction logic changes and I don’t have to recompile , it is just fixing the script. The best part of writing in F# is I avoid all the ceremony. Here is the F# code, it is nothing fancy. And this code can easily be modified for other link collection sites.&lt;/p&gt;</description></item><item><title>Resharper Template for F#</title><link>https://naveensrinivasan.com/?p=6/</link><pubDate>Mon, 01 Feb 2010 19:06:03 +0000</pubDate><guid>https://naveensrinivasan.com/?p=6/</guid><description>&lt;p&gt;I have been hacking F# lately and I am big fan of ReSharper. So why not create a few Live Templates for the things i do daily in F#.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://bit.ly/dvXmEH"&gt;Download&lt;/a&gt; R# live template for F#. I am sure there are few more things that can be part of this template. I have posted the code in MSDN Code gallery so that others can find and contribute.&lt;/p&gt;</description></item></channel></rss>