Skip to content

Commit 259c570

Browse files
committed
rename List.hd to List.head (its name in Stdlib)
1 parent 30d95fd commit 259c570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/docs/manual/v12.0.0/editor-plugins.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ let stringMake3 = @doesNotThrow String.make(12, ' ')
111111
try (foo()) { | exn => throw(exn) }
112112
```
113113

114-
- Uses of e.g. `List.hd` are interpreted as belonging to the standard library. If you re-define `List` in the local scope, the analysis it will think it's dealing with `List` from the standard library.
114+
- Uses of e.g. `List.head` are interpreted as belonging to the standard library. If you re-define `List` in the local scope, the analysis it will think it's dealing with `List` from the standard library.
115115
- There is no special support for functors.
116116

117117
### Guide

0 commit comments

Comments
 (0)