The big news this week is Tomas’ launching of a new F# snippet site. It goes way beyond anything that’s come before it in that you even get Visual Studio style tooltips! Equally exciting has been been Phillip Trelford’s blog. He’s been building all sorts of great Silverlight games in F#. Be sure to check it out!
News
“Now that I have a twitter (follow me if you don’t already) I thought I could just post the snippet somewhere, but there was no good web site for posting F# snippets – until now!”
“This is the F# compiler and core library for Mono, based on the F# Powerpack code drop under the OSS approved Apache 2.0 license.”
Audio and Video
“I have recently completed to develop a new topic in my on going F# Fundamentals course. This new topic covers the possibilities we have when working with arrays in F#. In addition, it showcases the available language constructs that enable us to get a shorter code comparing with C# (for doing the same operations).”
“This video demonstrates using a number of Visual Studio editing features for F#, including customizing syntax highlighting colors, Intellisense for auto-completion, error squiggles, type inference tooltips, and various source code navigation features.”
Tools
“Deisgned to bring Code Refactoring capabilities to the F# Language in Visual Studio 2010.”
“The project is still under development. As of now, You can try F# interactive inside Reflector. Program editor will be added later. ”
“We just released a new WebSharper 2.0 Beta (2.0.63) and a matching WebSharper Manager (2.0.10) – please go to the WebSharper Download Page to grab the new binaries.”
“Automatically create F# xmldoc template when you type ///”
“If you are loving and learning F# like me, you may know about the awesome F# Deep Colorizer VS Extension implemented by Brian McNamara.The extension uses background colorization of the Visual Studio’s Code Editor to show the “control flow depth” of F# code.”
“F# PowerPack, with F# Compiler Source Drops Has been updated.”
General
“When it comes to the ancient Chinese board game of Go, a certain cliché has gained near ubiquity. The game, the saying goes, takes just minutes to learn, but a lifetime to master”
“The game was developed in F# using the freely available Visual Studio 2010 Shell and targets Silverlight 4”
“Time for a makeover with a sprinkling of Active patterns, Reactive programming, Parallel execution and Silverlight.”
“I’ve managed to increase Jon’s example to a massive 50 lines but at the same time get it running in Silverlight. If you have Silverlight 4 installed you can click in the box below to kick start life.”
“Just for fun, a clone of the 1980s arcade game Missile Command written in F# and deployed in Silverlight.”
“I’ve been enviously watching Phillip Trelford publish excellent F# games all week and tonight I just couldn’t stand it anymore. I stayed in, rolled up my sleeves and ported the very same ant colony simulation I used in my CUFP workshop to Silverlight 4.0.”
“While I knew that solving Sudoku in F# wasn’t particularly an original idea, Jon Harrop has a custom Sudoku solver in F# that dates back to 2007, but I thought using Solver Foundation might be an interesting approach.”
“On my flight to the US I had a small competition with my dad. He was solving a Sudoku and I tried to write a generic solver in the same time.”
“Active patterns allow arbitrary user-defined functions to be used to dissect values during pattern matching. This opens up some interesting possibilities with regard to parsing because it allows active patterns to be used to destructure streams of data when known patterns are encountered.”
“In an attempt to answer this question, I am comparing in this article the performance of four implementations of an octree: Two in F# and two in C#.”
“Earlier this week I gave a talk at the first London WebSharper User Group meetup about WebSharper 2.0 and some of its new features such as sitelets and the new Visual Studio templates. This was a longer, class-like talk with many technical points discussed – a great source of information for anyone interested in WebSharper. Here is the short summary of the talk:”
“Extracting links from HTML is a bit tricky. The two main issues are relative URLs and the lack of canonicalization (the process of consistently using the same URL pattern for internal links across the hole Web site).”
“In this tutorial you will learn how to create a newsletter sign-up form using WebSharper formlets.”
“Since I love F# and data visualizations I thought to myself that it might be cool to have a Protovis style API for the Charting controls. So I started hacking and surprisingly came up with the following F# Script :”
“As a fun project, I decided to implement a guessing strategy for the popular board game Clue, as proposed by Wired magazine in a recent article about teen “mathletes”:”
“I have tried to found an elegant way to solve this problem at a mathematical level, but I couldn’t gain any insight relating powers of 2 to their representation in base 10 (I’d love to know if such a thing exists). Therefore I resorted to solve this problem with brute force.”
“Project Euler problem 17 turned out to be quite an easy one”
“Problem: Make a simple Race to Ten text-based game.”
“One of the most useful features in .NET/CLR is supporting not only Gregorian calendar but also many local calendars. For me, it is awesome that there is the Japanese Calendar (in Japanese : 和暦 / pronounce “wareki”).”
“Here’s how to determine whether a date is a US federal holiday using F#. You probably want to curry the first two boolean parameters with the appropriate settings (some departments observe Sunday holidays on Monday, and some observe Saturday holidays on Friday).”
“This is how I use F# to generate the keys.”
“I rewrote a C# .NET Template Building Block for an SDL Tridion project in F# as a test to see how well F# fit in real-world applications.”
“If you got runtime errors I feel bad for you son
I got 99 problems but dynamic ain’t one”
Community
“I had fun writing a generator of permutations in f-sharp. I posted a writeup about it on my blog here. I welcome any tips on how to improve this code”
“After playing with F# agents I tried to do a map reduce using them.”