Skip to content

Commit 0a25b0f

Browse files
xtianlpil
authored andcommitted
list.merge_sort: Fix enum usage
1 parent b11bc9d commit 0a25b0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gleam/list.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ fn merge_sort(a, b, compare) {
245245
_, [] -> a
246246
[ax | ar], [bx | br] ->
247247
case compare(ax, bx) {
248-
order.lt -> [ax | merge_sort(ar, b, compare)]
248+
order.Lt -> [ax | merge_sort(ar, b, compare)]
249249
_ -> [bx | merge_sort(a, br, compare)]
250250
}
251251
}

0 commit comments

Comments
 (0)