Friday, 9 January 2015

Purely functional data structures in practice

The F# Journal just published an article about purely functional data structures:
"Previous articles have covered the specifics of some classic purely functional data structures. This article explains why and when you may or may not want to use a purely functional data structure and when we have found them to be most valuable in practice..." To read this article and more, subscribe to The F# Journal today!

Saturday, 3 January 2015

Fun with power series

The F# Journal just published an article about manipulating and visualizing power series:
"This article was inspired by Doug McIlroy's excellent Power Serious article about processing infinite power series using infinite lazy lists in Haskell. Although Doug's Haskell code is significantly more elegant than our F# in parts, we add the ability to visualize power series as typeset mathematics including some example approximations to well-known constants using our F# for Visualization library..." To read this article and more, subscribe to The F# Journal today!

Porting a commercial compiler from OCaml to F#

The F# Journal just published a case study about the industrial use of F#:
"In 2012, we ported a compiler for a domain specific language used in the insurance industry from OCaml to F#. The resulting software lies at the core of a major piece of insurance software that is used worldwide. This article looks retrospectively at both the technical and non-technical successes and failures of that project and the ramifications for industrial users of F#..." To read this article and more, subscribe to The F# Journal today!

Monday, 22 December 2014

CNC Heart

The F# Journal just published an article about mechatronics:
"A simple way to create a cheap CNC milling machine is to fit a Dremel rotary tool to a cheap open-framed 3D printer such as a Printrbot. The same GCode used for 3D printing can then be used to mill. This article explains how F# can be used to generate GCode to control a CNC milling machine in order to carve out some laminar shapes including a cirle and a heart..."

To read this article and more, subscribe to The F# Journal today!

Monday, 28 April 2014

Copying sequences of records to and from Excel

The F# Journal just published an article about interoperability and reflection:
"This article walks through the design and implementation of a small library that allows sequences of values of F# record types to be read from and written to Excel easily. The implementation includes a signature file with Intellisense documentation and example F# script files..."
To read this article and more, subscribe to The F# Journal today!

Monday, 17 March 2014

Call graph visualizer

The F# Journal just published an article about metaprogramming:
"The call graph of a program is the network of functions and caller-callee dependencies between them. This article walks through the design and implementation of a simple F# program that extracts the call graph of a reflected definition and visualizes it using the GraphViz toolkit..."
To read this article and more, subscribe to The F# Journal today!

Wednesday, 22 January 2014

Function call performance on .NET

The F# Journal just published an article about performance:
"In order to write efficient programs it is essential to have an accurate mental model of the cost of various operations. Function calls are one of the most important operations. This article examines various kinds of function calls and other constructs that are used equivalently and studies their performance in detail..."
To read this article and more, subscribe to The F# Journal today!