A list of bytes is internal to J and is a known type. A file is
foreign. If I want to send an npy datastream over a socket, why should
I have to write/read a file?
The new primitive should deal with bytes rather than files for the same
reason (":) does.
Henry Rich
On 9/24/2020 1:17 PM, 'Zhihao Yuan' via Source wrote:
On Thu, Sep 24, 2020 at 12:07 PM Henry Rich <[email protected]> wrote:
The input/result to the foreign should be a list of bytes, not a file.
We are unaware of these principles, but
our demand is as simple as reading J
*objects* out of binary files (npy). The
version we are using internally is a main
operator (w.) actually, but I don't feel that
being more acceptable.
--
This email has been checked for viruses by AVG.
https://www.avg.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm