Skip to content

Commit 33a0d85

Browse files
committed
Conditional equality for RoseTree
1 parent f6bdb4f commit 33a0d85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/FSharpx.Collections.Experimental/RoseTree.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ open System.Runtime.CompilerServices
88
/// Multi-way tree, also known as rose tree.
99
// Ported from http://hackage.haskell.org/packages/archive/containers/latest/doc/html/src/Data-Tree.html
1010
[<CustomEquality; NoComparison>]
11-
type RoseTree<'T> =
11+
type RoseTree<[<EqualityConditionalOn>] 'T> =
1212
{ Root: 'T; Children: RoseForest<'T> }
1313

1414
override x.Equals y =

0 commit comments

Comments
 (0)