│<.│/│i.│"│1 2│
└─┴──┴──┴──┴─┴──┴─┴───┘
The us of words emphasizes the differences.
Thanks for teaching me about 4 :
Linda
-Original Message-
From: Programming On Behalf Of
'robert therriault' via Programming
Sent: Tuesday, August 7, 2018 6:14 PM
To: programm
By the way you can also declare this tacitly using a similar technique
alpha1t=: ([:) : ( ] /: [: <./ i."1 _ )
5!:2 <'alpha1t'
┌──┬─┬─┐
│[:│:│┌─┬──┬──┐│
│ │ ││]│/:│┌──┬──┬──┐││
│ │ ││ │ ││[:│┌──┬─┐│┌──┬─┬───┐│││
│ │ ││ │ ││
Hi Linda,
I am using this thread to reply to your question in order to get off the thread
that Henry and Bill are using for their debugging conversation.
You asked:
Thanks. However, I was trying to use the example to show the differences
between an explicit definition using 3 : and a tacit v
Linda,
Try alpha2 instead of alpha1 to circumvent the domain error because 4
signals a dyadic verb.
alpha1=: 3 :'y /: <./x i."1 _ y'
alpha2=: 4 :'y /: <./x i."1 _ y'
It's a little puzzling what you are trying to do because the following
gives a similar result.
/:~fruits
Fig
Kiwi
Peach
Pear