Skip to content

Commit

Permalink
Update to the latest version of Koto
Browse files Browse the repository at this point in the history
  • Loading branch information
irh committed Feb 13, 2024
1 parent d4a12aa commit 1bc1c22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/playground/examples/cookbook/set.koto
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ make_set = |values|
# represented by a key.
data = if values then values.to_map() else {}
# Return a map containing the provided data, along with the Set metamap
{data}.set_meta set_ops
{data}.with_meta set_ops

# An iterator consumer that makes a Set from the iterator's output values
iterator.to_set = || make_set self
Expand Down

0 comments on commit 1bc1c22

Please sign in to comment.