This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#r "nuget: FSharp.Compiler.Service" | |
open FSharp.Compiler.Syntax | |
open FSharp.Compiler.SyntaxTrivia | |
open FSharp.Compiler.Xml | |
type Node = | |
{ Data : Data | |
Children : Node list } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open System | |
open System.Runtime.CompilerServices | |
#nowarn "1204" | |
[<CompilerMessage("This construct is for use by compiled F# code and should not be used directly.", 1204, IsHidden=true)>] | |
type FoldBuilderCode<'T> = delegate of byref<'T> -> unit | |
[<Struct; IsReadOnly; NoComparison; NoEquality>] | |
type FoldBuilder<'T> (state : 'T) = |