Skip to content

Commit 56d552d

Browse files
Fix example code importing from wrong package (#50)
Co-authored-by: Thomas Honeyman <[email protected]>
1 parent f315154 commit 56d552d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ New features:
1111
Bugfixes:
1212

1313
Other improvements:
14+
* Fixed readme bug where `jsonParser` was imported from `Data.Argonaut.Core` instead of `Data.Argonaut.Parser` (#50 by @flip111)
1415

1516
## [v6.0.0](https://github.com/purescript-contrib/purescript-argonaut-core/releases/tag/v6.0.0) - 2021-02-26
1617

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ someObject =
6868
Finally, you can parse JSON from a string using the `jsonParser` function. However, this isn't guaranteed to produce a correct value, so it returns an `Either` value, where a parsing error is represented with `Left` containing an error message.
6969

7070
```purs
71-
import Data.Argonaut.Core (jsonParser)
71+
import Data.Argonaut.Parser (jsonParser)
7272
import Data.Maybe (Maybe(..))
7373
7474
someObject :: Either String Json

0 commit comments

Comments
 (0)