Pangram checker: Difference between revisions
Content added Content deleted
m (→{{header|APL}}) |
m (→{{header|APL}}: fix spelling) |
||
Line 261: | Line 261: | ||
A←'ABCDEFGHIJKLMNOPQRSTUVWXYZ' ⍝ or ⎕ucs 64 + ⍳26, or just ⎕a in Dyalog |
A←'ABCDEFGHIJKLMNOPQRSTUVWXYZ' ⍝ or ⎕ucs 64 + ⍳26, or just ⎕a in Dyalog |
||
Pangram ← {∧/ ∨⌿ 2 26⍴(a,A) ∊ ⍵} |
|||
Pangram 'This should fail' |
|||
0 |
0 |
||
Pangram 'The quick brown fox jumps over the lazy dog' |
|||
1 |
1 |
||
</syntaxhighlight> |
</syntaxhighlight> |