From 0c356db99cb8d97f47c21f6d1258782f0d713544 Mon Sep 17 00:00:00 2001 From: byhill Date: Thu, 23 Feb 2023 02:31:31 -0700 Subject: [PATCH] Update README --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9b7b02f..f66a141 100644 --- a/README.md +++ b/README.md @@ -26,9 +26,9 @@ elem = push!(s) # adds a single element in a new set; returns the new e One may also use other element types: ```julia -a = DisjointSets{AbstractString}(["a", "b", "c", "d"]) -union!(a, "a", "b") -in_same_set(a, "c", "d") -push!(a, "f") +s = DisjointSets{AbstractString}(["a", "b", "c", "d"]) +union!(s, "a", "b") +in_same_set(s, "c", "d") +push!(s, "f") ``` etc...