@@ -6,6 +6,7 @@ namespace FSharpPlus.Control
66
77open System.Runtime .InteropServices
88open FSharpPlus.Internals
9+ open FSharpPlus
910#if FABLE_ COMPILER
1011/// NOTE
1112type OptionalAttribute () =
@@ -206,14 +207,15 @@ type Zero with
206207 static member inline Zero ( _ : Lazy < 'a > , _ : Zero ) = let ( v : 'a ) = Zero.Invoke () in lazy v
207208 static member Zero ( _ : Dictionary < 'a , 'b > , _ : Zero ) = Dictionary< 'a, 'b> ()
208209 static member Zero ( _ : ResizeArray < 'a > , _ : Zero ) = ResizeArray () : ResizeArray< 'a>
210+ static member Zero ( _ : HashSet < 'a > , _ : Zero ) = HashSet.empty : HashSet< 'a>
209211
210212type Zero with
211213 static member inline Zero ( _ : ^R , _ : Default6 ) = FromInt64.Invoke 0 L : ^ R
212214
213215 static member inline Zero ( _ : ^R , _ : Default5 ) = Implicit.Invoke 0 : ^ R
214216
215217 static member Zero ( _ : seq < 'a > , _ : Default4 ) = Seq.empty : seq< 'a>
216- static member Zero ( _ : IEnumerator < 'a > , _ : Default4 ) = FSharpPlus. Enumerator.Empty () : IEnumerator< 'a>
218+ static member Zero ( _ : IEnumerator < 'a > , _ : Default4 ) = Enumerator.Empty () : IEnumerator< 'a>
217219 static member Zero ( _ : IDictionary < 'a , 'b > , _ : Default4 ) = Dictionary< 'a, 'b> () :> IDictionary< 'a, 'b>
218220 static member Zero ( _ : IReadOnlyDictionary < 'a , 'b > , _ : Default4 ) = Dictionary< 'a, 'b> () :> IReadOnlyDictionary< 'a, 'b>
219221 static member inline Zero ( _ : 't , _ : Default3 ) = ( ^t : ( static member Empty : ^t ) ()) : 't
0 commit comments