Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/word-count/word-count.pony
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class WordCountTotaler is fj.Collector[String, WordCounts iso]
fun ref collect(runner: fj.CollectorRunner[String, WordCounts iso] ref,
result: WordCounts iso)
=>
match _counts
match \exhaustive\ _counts
| None =>
// We haven't gotten any counts yet, instead of copying the map, let's
// just keep the first one as our base to build upon
Expand All @@ -91,7 +91,7 @@ class WordCountTotaler is fj.Collector[String, WordCounts iso]
end

fun ref finish() =>
match _counts
match \exhaustive\ _counts
| None =>
_out.print("No words counted.")
| let counts: WordCounts =>
Expand Down