Commits

Maxim Moiseev  committed e5decda

removed unnecessary JsonArrayBuilder methods (Fail, Zero)

  • Participants
  • Parent commits cf7f41c

Comments (0)

Files changed (1)

File src/Common/JsonParser.fs

     type JsonArrayBuilder() = 
         member this.Return(x) =
             JsonArrayParser (fun ts -> [(x, ts)])
-        member this.Fail() =
-            JsonArrayParser (fun _ -> [])
-        member this.Zero() =
-            JsonArrayParser (fun _ -> [])
         member this.Bind(p, f) =
             JsonArrayParser (fun ts ->
                 match runParser p ts with