doubt about enlist

enlist returns a list of the elements passed as an argument.so,enlist abcit should return me a list of 3 symbols. so, IMO count enlist abcshould return 3.but, how does it return 1.q)enlist abca b candq)count enlist abc1here, what is “a b c”? i mean which data type?i had expected it to returnab`cand count to be 3.I am confused. please help.

enlist abcputs the argument (abc) in a list. since the argument is a listalready, the result is a mixed listq)type enlist 1 2 30hq)type enlist abcc0hq)type enlist a11hq)type enlist 16hOn Feb 25, 6:16?am, shatru <mitrasha…> wrote:> enlist returns a list of the elements passed as an argument.> so,> enlist abc&gt; it should return me a list of 3 symbols. so, IMO count enlist abc> should return 3.> but, how does it return 1.> q)enlist abc&gt; a b c&gt; and&gt; q)count enlist abc> 1> here, what is “a b c”? i mean which data type?> i had expected it to return> ab`c>> and count to be 3.>> I am confused. please help.</mitrasha…>

Use (), instead of enlisttype (),abc11hcount (),abc3type a-11htype (),a11hOn Feb 25, 3:07?pm, hlivni <hagai.li…> wrote:> enlist abc&gt; puts the argument (abc) in ?a list. ?since the argument is a list> already, the result is a mixed list> q)type enlist 1 2 3> 0h> q)type enlist abcc&gt; 0h&gt; q)type enlist a> 11h> q)type enlist 1> 6h>> On Feb 25, 6:16?am, shatru <mitrasha…> wrote:>> > enlist returns a list of the elements passed as an argument.> > so,> > enlist abc&gt; &gt; it should return me a list of 3 symbols. so, IMO count enlist abc> > should return 3.> > but, how does it return 1.> > q)enlist abc&gt; &gt; a b c&gt; &gt; and&gt; &gt; q)count enlist abc> > 1> > here, what is “a b c”? i mean which data type?> > i had expected it to return> > ab`c>> > and count to be 3.>> > I am confused. please help.</mitrasha…></hagai.li…>