Remove quotes from link

This commit is contained in:
Sean Collins 2022-02-02 14:22:22 -04:00
parent e894966469
commit 28e3674eda
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ layout: gem-single
name: dry-types
---
The `:monads` extension provides a `#to_monad` method that returns a `Result` compatible with [`dry-monads`]('/gems/dry-monads/').
The `:monads` extension provides a `#to_monad` method that returns a `Result` compatible with [`dry-monads`](/gems/dry-monads/).
The `.try` method returns a simple `Result` that's defined within `dry-types` (i.e. `Dry::Types::Result`).
If you want to use the result with `dry-monads`, you can load this extension and call `#to_monad` on the `Dry::Types::Result` to get a `Result` that's defined in `dry-monads` (i.e. `Dry::Monads::Result`). This will let you use the `dry-monads` methods on the result.