F# User Group meeting

By Petr at June 27, 2010 01:58
Filed Under:

It was pretty cool. Steffen Forkmann spoke from Germany for groups here in Boston and New Orleans (at TechEd 2010). Looks like F# is almost ideal for creating DSLs. Discovered new F# feature which allows create functions like this: 

  let ``function name with spaces и всяческим уникодом`` num =

      printfn "Output from the function %d" num  

Just wrap the arbitrary string by double ticks `` – and it will be perfectly legal F# identifier!

Fsi output: val ( function name with spaces и всяческим уникодом ) : int -> unit

> ``function name with spaces и всяческим уникодом`` 45;; Output from the function 45 val it : unit = () >

Comments

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading