Skip to content

Commit

Permalink
Fix CI issues
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanMartinez committed Aug 31, 2023
1 parent 823b832 commit 7b33c92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/JSON.purs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ module JSON
, toNull
, toBoolean
, toNumber
, toInt
, toString
, toArray
, toJArray
Expand Down Expand Up @@ -123,7 +124,7 @@ toNumber json = runFn7 Internal._case fail fail Just fail fail fail json
-- | Converts a `JSON` `Number` into an `Int`.
-- |
-- | This is provided for convenience only.
toInt :: Json -> Maybe Int
toInt :: JSON -> Maybe Int
toInt = toNumber >=> Int.fromNumber

-- | Converts a `JSON` value to `String` if the `JSON` is a string.
Expand Down

0 comments on commit 7b33c92

Please sign in to comment.