aboutsummaryrefslogtreecommitdiff
path: root/challenge-067/richard-park/apl/LetterPhone.aplf
blob: dd200c706d73d6e835b8b31c80547ca4c664d0f2 (plain)
1
2
3
4
5
6
 LetterPhone{
⍝ ⍵: Character vector of digits e.g. '35'
⍝ ←: All possible letter combinations from a keypad defined by ⍺ 
     '_,@' 'ABC' 'DEF' 'GHI' 'JKL' 'MNO' 'PQRS' 'TUV' 'WXYZ'
     ,⊃∘.,/[¨]
 }