Someone
public text v1 · immutable# calculates the number
# of DIFFERENT vowels in a given string
func.def vowels (arg) {
var.def n 0;
map.tail {+: n [string.istok $arg } a e i o u;
return $n;
}
io.write [vowels "Hello world!"];
# calculates the number
# of DIFFERENT vowels in a given string
func.def vowels (arg) {
var.def n 0;
map.tail {+: n [string.istok $arg } a e i o u;
return $n;
}
io.write [vowels "Hello world!"];