Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
BNAndras committed May 26, 2024
1 parent b641809 commit 22d6f88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/practice/nucleotide-count/.meta/src/example.art
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
nucleotideCounts: function [strand][
fold strand .seed:#[A: 0, C: 0, G: 0, T: 0] [dict, nucleotide][
try? [
fold.seed:#[A: 0, C: 0, G: 0, T: 0] strand [dict, nucleotide][
try [
dict\[nucleotide]: inc dict\[nucleotide]
dict
] else [
Expand Down

0 comments on commit 22d6f88

Please sign in to comment.