[Jprogramming] @''

Jose Mario Quintana JoseMarioQuintana at 2BestSystems.Com
Tue Oct 17 22:31:33 HKT 2006


Thanks for the feedback; it makes sense to me.

> bounces at jsoftware.com] On Behalf Of Roger Hui

> 
> It is not documented, and the system should signal
> error in such cases (and will do so in the next
> release).
> 
> The undocumented feature is that atom or list
> gerund arguments are accepted for @ @: &: with
> results modelled as follows:
> 
> A=: ((,'@') <@; <)@,"0
> B=: ('@:'   <@; <)@,"0
> C=: ('&:'   <@; <)@,"0
> 
>    (f`goo`hoot) @ (p`que`rare)
> +---------+-------------+---------------+
> |+-+-----+|+-+---------+|+-+-----------+|
> ||@|+-+-+|||@|+---+---+|||@|+----+----+||
> || ||f|p|||| ||goo|que|||| ||hoot|rare|||
> || |+-+-+||| |+---+---+||| |+----+----+||
> |+-+-----+|+-+---------+|+-+-----------+|
> +---------+-------------+---------------+
>    (f`goo`hoot) A (p`que`rare)
> +---------+-------------+---------------+
> |+-+-----+|+-+---------+|+-+-----------+|
> ||@|+-+-+|||@|+---+---+|||@|+----+----+||
> || ||f|p|||| ||goo|que|||| ||hoot|rare|||
> || |+-+-+||| |+---+---+||| |+----+----+||
> |+-+-----+|+-+---------+|+-+-----------+|
> +---------+-------------+---------------+
> 
>    (f`goo`hoot) @: ({.+`+)
> +----------+------------+-------------+
> |+--+-----+|+--+-------+|+--+--------+|
> ||@:|+-+-+|||@:|+---+-+|||@:|+----+-+||
> ||  ||f|+||||  ||goo|+||||  ||hoot|+|||
> ||  |+-+-+|||  |+---+-+|||  |+----+-+||
> |+--+-----+|+--+-------+|+--+--------+|
> +----------+------------+-------------+
>    (f`goo`hoot) B ({.+`+)
> +----------+------------+-------------+
> |+--+-----+|+--+-------+|+--+--------+|
> ||@:|+-+-+|||@:|+---+-+|||@:|+----+-+||
> ||  ||f|+||||  ||goo|+||||  ||hoot|+|||
> ||  |+-+-+|||  |+---+-+|||  |+----+-+||
> |+--+-----+|+--+-------+|+--+--------+|
> +----------+------------+-------------+
> 





More information about the Programming mailing list