Skip to content

Commit 4cdae32

Browse files
authored
Corrected primus_dictionary_main.ml (#1558)
Corrected dict-length to map to Length module instead of First module.
1 parent 77d09fe commit 4cdae32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/primus_dictionary/primus_dictionary_main.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ module Main(Machine : Primus.Machine.S) = struct
163163
Returns nil if KEY was the last key in the dictionary.
164164
Could be used together with DICT-FIRST for iterating.|};
165165

166-
def "dict-length" (tuple [sym] @-> int) (module First)
166+
def "dict-length" (tuple [sym] @-> int) (module Length)
167167
{|(dict-first DIC) is the total number of keys in DIC.|};
168168
]
169169
end

0 commit comments

Comments
 (0)