You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
λ import Types.Common (parseBS) -- From the test suite
λ import Waargonaut.Decode as D
λ D.runPureDecode (D.list D.int) parseBS $ D.mkCursor "[]"
Right []
λ D.runPureDecode (D.list D.int) parseBS $ D.mkCursor "[}" -- <--- oops
Right []
The text was updated successfully, but these errors were encountered:
There is a nicer fix that I am able to add once we have #39 merged. The succinct data structures make it trivial and fast to confirm the closing element of a structure, so should be straightforward.
The text was updated successfully, but these errors were encountered: