Skip to content

Commit

Permalink
docs: re-arrange sections (#131)
Browse files Browse the repository at this point in the history
... to be less confusing on the docs website
  • Loading branch information
fingolfin authored Nov 23, 2024
1 parent baf1f0f commit 693c43e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/src/ordered_containers.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# OrderedSets
# Ordered containers

## OrderedSets

`OrderedSets` are sets whose entries have a particular order.
Order refers to *insertion order*, which allows deterministic
Expand All @@ -25,7 +27,8 @@ specify the type in curly-braces:
# create an OrderedSet of Strings
strs = OrderedSet{AbstractString}()
```
# OrderedDicts

## OrderedDicts
Similarly, `OrderedDict` are simply dictionaries whose entries have a particular
order.
```julia
Expand All @@ -45,7 +48,7 @@ The insertion order is conserved when iterating on the dictionary itself,
its keys (through `keys(d)`), or its values (through `values(d)`).
All standard `Associative` and `Dict` functions are available for `OrderedDicts`

# LittleDict
## LittleDict
```julia
d = LittleDict{Char,Int}()
for c in 'a':'d'
Expand Down

0 comments on commit 693c43e

Please sign in to comment.