Skip to content

Commit

Permalink
Fix README examples
Browse files Browse the repository at this point in the history
nicklimmm committed May 3, 2024
1 parent bb023d4 commit fc60807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ import gleam/int
import priorityq
pub fn main() {
new(int.compare) |> priorityq.is_empty // -> True
priorityq.new(int.compare) |> priorityq.is_empty // -> True
let pq = priorityq.from_list([1, 5], int.compare)
pq |> priorityq.push(10) |> priorityq.peek // -> 10

0 comments on commit fc60807

Please sign in to comment.