BT

InfoQ Homepage News F# Now Supports Silverlight

F# Now Supports Silverlight

Bookmarks

Slipped into the Silverlight Tools for Visual Studio release is F# for Silverlight 4. While C# or VB is still recommended for UI design, F# offers some interesting capabilities for the business tier, especially if it is heavy on computations or data processing logic.

The F# also has a PowerPack that brings in functionality that either is not ready or is not appropriate for the core release. This release doesn’t add new functionality but does allow the library to be used from Silverlight 3 and 4.

Features that can be found in the F# PowerPack include:

  • F#’s take on Lex and Yacc, including MSBuild support
  • SI unit of measure
  • Tagged immutable sets and maps
  • Matrix library and supporting math types

The F# PowerPack is available on CodePlex under the Microsoft Public License. In order to make developing pure F# applications easier with Silverlight, DmitryLomov has created a F# Silverlight Application template.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • Aync workflows is another useful feature

    by Faisal Waris /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Silverlight forces all server interactions to be asynchronous.

    With F# you can easily orchestrate such interactions via the async {} monad as mini workflows. There is even support for fork/join semantics.

    The interesting part is that async code looks almost the same as synchronous code.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.