Skip to content

Commit 30c38f1

Browse files
committed
Test for u. when u is a noun
1 parent 1ec6bfa commit 30c38f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/g310r.ijs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ sum=: +/
8686
(5!:5 <'g1') -: '+/ (',(5!:5 <'G1'),')'
8787
(5!:5 <'g2') -: '+/ (',(5!:5 <'G2'),')'
8888

89+
NB. u. must be verb
90+
a =: {{ u. y }}
91+
'domain error' -: 2 a etx 5
92+
8993
NB. Going through locatives leaves global path unchanged
9094
a_z_ =: a =: 1 : 0
9195
try.

0 commit comments

Comments
 (0)