Blog articles

0
comment
on 12/30/2011 9:30 AM
When WebSharper compiles F# to JavaScript it preserves namespaces, module and class nesting to make it easy to navigate the compiled code from JavaScript shell. Roughly speaking, A.B.C.D.E identifier in F# can be found by typing A.B.C.D.E in JavaScript. [...]
.
0
comment
on 12/30/2011 12:40 AM
Press ctrl+d Enter> of   Then start typing the file name.
.
0
comment
on 12/29/2011 5:13 PM
I have a few quick rules of thumb which I follow when writing code.  Nothing earth-shaking or non-obvious; just simple ways that I avoid making the worst and most obvious mistakes. If you use a number or a string more than once, make it a constant.  Maybe[...]
.
0
comment
on 12/29/2011 4:41 PM
In C#, you define an empty class, struct, or interface like this: So how do you define an empty type in F#? Well, whenever you define a new class in F#, the compiler infers the class and end tokens at the beginning and end of the class’s definition, as yo[...]
.
0
comment
on 12/29/2011 12:09 PM
Can anyone explain why this code leaks memory? Looks like using Async.StartAsTask makes it complete in constant space.
.
0
comment
on 12/28/2011 6:21 PM
Brian Beckman over at c9 has implemented a reactive version of the classic Viterbi algorithm using System.IObserver. It seems that Viterbi is natrually suited to this type of an implementation because it deals with events (observations) over time so this [...]
.
0
comment
on 12/28/2011 6:21 PM
Brian Beckman over at c9 has implemented a reactive version of the classic Viterbi algorithm using System.IObserver. It seems that Viterbi is natrually suited to this type of an implementation because it deals with events (observations) over time so this [...]
.
0
comment
on 12/27/2011 5:51 AM
Visual F#团队很高兴地宣布中国的CSDN博客正式成立,我们的目的是为了方便中国的程序员更早、更快、更多的了解F#,并从F#的实际应用中受益。 最初,F#是Don Syme博士在微软剑桥研究院的一个研究项目,它继承自OCaml和C#和Python和Haskell语言。它是一种函数式的、面向对象的.NET编程语言,使用户能够编写简单的代码来解决复杂的问题。很多用户反映使用F#后代码量减少到原来的四分之一,并且程序的错误率大大减少。 我们的工作主要是翻译一些F#专家的博客,制作一系列F#的教程,以及介绍[...]
.
0
comment
on 12/25/2011 5:24 PM
There’re a number of built-in literal types in F#, and one of the cool things you can do is to get the byte or byte array representation of a char or string using the ‘B’ suffix, the result is the same as Encoding.ASCII.GetBytes: Pretty cool, eh?
.
0
comment
on 12/25/2011 1:31 PM
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper

Logging in...