Abbreviations, automatic: Difference between revisions
m
→{{header|J}}: bare lang tag
m (→minor edit) |
m (→{{header|J}}: bare lang tag) |
||
Line 3,167:
=={{header|J}}==
<lang J>NB. y is words in boxes▼
<lang>▼
▲NB. y is words in boxes
abbreviation_length =: monad define
N =. # y
Line 3,186 ⟶ 3,185:
L =. abbreviation_length&> a
((' ',~":)&> L) ,"1 lines
▲)</lang>
<pre>
DAY_NAMES =: noun define
Sunday Monday Tuesday Wednesday Thursday Friday Saturday
|