Count how many vowels and consonants occur in a string: Difference between revisions
Count how many vowels and consonants occur in a string (view source)
Revision as of 08:33, 12 September 2021
, 2 years ago→{{header|Haskell}}: Updated output in second variant
(→{{header|Haskell}}: Updated output in second variant) |
|||
Line 310:
both = join bimap</lang>
{{Out}}
<pre>33
12 characters drawn from 5 vowels:
('a',
('e',
('i',
('o',
('u',
21 characters drawn from 9 consonants:
('
('
('
('
('
('p',1)
('r',6)
('t',1)
('v',1)</pre>
=={{header|jq}}==
|