Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Small fix
  • Loading branch information
fhammerschmidt committed Sep 5, 2025
commit 5e728b7f2a8aa66431a6560d585a72ff8758587e
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,7 @@ We can also use this to avoid returning `option` unnecessarily. We create an arr
[^2]: This example is adapted from [here](https://dev.realworldocaml.org/gadts.html).

```res example
module If_not_found = {
type t<_,_>
}module IfNotFound = {
module IfNotFound = {
type rec t<_, _> =
| Raise: t<'a, 'a>
| ReturnNone: t<'a, option<'a>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,7 @@ We can also use this to avoid returning `option` unnecessarily. We create an arr
[^2]: This example is adapted from [here](https://dev.realworldocaml.org/gadts.html).

```res example
module If_not_found = {
type t<_,_>
}module IfNotFound = {
module IfNotFound = {
type rec t<_, _> =
| Raise: t<'a, 'a>
| ReturnNone: t<'a, option<'a>>
Expand Down