-
Notifications
You must be signed in to change notification settings - Fork 842
Closed
Labels
Area-LangService-APIBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Milestone
Description
- Install latest master of F# and Roslyn in a single hive.
- Create a Console App.
- Enter the following:
// Learn more about F# at http://fsharp.org
// See the 'F# Tutorial' project for more help.
type BST<'T> =
| Empty
| Node of 'T * BST<'T> * BST<'T>
let rec flip (tree: BST<'T>) =
match tree with
| Empty -> tree
| Node(x, left, right) -> Node(x, flip right, flip left)
[<EntryPoint>]
let main argv =
printfn "%A" argv
0 // return an integer exit codeNote that BST<'T> isn't colorized at the first declaration, but is colorized in subsequent uses.
Metadata
Metadata
Assignees
Labels
Area-LangService-APIBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.