Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinmcgimpsey authored and lpil committed Oct 23, 2023
1 parent 078da50 commit 8a77615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion concepts/queues/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The Gleam standard library implements a `Queue` type in the `gleam/queue` module. It is similar to the `List` type, but with a few key differences:

- The `Queue` type doesn't have a literal syntax that can be used to construct queues or pattern match on them.
- Elements can be efficiently added and removed from both the front and back of the `Queue` type, while the `List` type can only efficiently add and remove elements from the front.
- Elements can be efficiently added to and removed from both the front and back of the `Queue` type, while the `List` type can only efficiently add and remove elements from the front.

Most of the time you will want to use the `List` type, but when you need to be able to add and remove from the end of a collection, the `Queue` type is a good choice.

Expand Down

0 comments on commit 8a77615

Please sign in to comment.