exercise: Hamming version: 3 plan: 15 tests: |- for $c-data.values { if . { throws-like {hamming-distance(|.)}, Exception, .; } else { is hamming-distance(|.), |.; } } unit: module example: |- sub hamming-distance ( +@strands where { .elems == 2 && [==] $_».chars } --> Int:D ) is export { sum [Zne] @strands».comb } stub: |- sub hamming-distance ($strand1, $strand2) is export { }