Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
laserpants authored Oct 15, 2023
1 parent 9981ea5 commit 04757e6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,10 @@ sqids :: Sqids s a -> Either SqidsError a
This gives you a value of type `Either SqidsError a`, where `a` is the ID in the
case of `encode`. If encoding fails for some reason, then the `Left` constructor
[contains the error](#error-handling). For some use cases, directly calling
`sqids` or `runSqids` in this way is sufficient. If you do this in multiple
locations in your code, however, especially when IO or other effects are
involved, the [`SqidsT` monad transformer](#monad-transformer) is a better choice.
`sqids` or `runSqids` in this way is sufficient. Doing so in multiple locations
in your code, however, doesn't scale very well, especially when IO or other
effects are involved. In this case, the [`SqidsT` monad transformer](#monad-transformer)
is a better choice.

#### Encoding

Expand Down

0 comments on commit 04757e6

Please sign in to comment.