Add F# and GLSL samples. Add Forth and GLSL extension .fs.

Add heuristic to disambiguate between F#, Forth, and GLSL.
This commit is contained in:
Lars Brinkhoff
2013-08-24 14:24:53 +02:00
parent 9f103abfb5
commit 2d940e72c2
6 changed files with 342 additions and 0 deletions

15
samples/F#/sample.fs Normal file
View File

@@ -0,0 +1,15 @@
module Sample
open System
type Foo =
{
Bar : string
}
type Baz = interface end
let Sample1(xs : int list) : string =
xs
|> List.map (fun x -> string x)
|> String.concat ","