bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] FILE_IO library


From: Juergen Sauermann
Subject: Re: [Bug-apl] FILE_IO library
Date: Thu, 31 Jul 2014 16:59:57 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Elias,

I changed/removed the _5000 functions as proposed

What are docstrings?

/// Jürgen


On 07/31/2014 09:36 AM, Elias Mårtenson wrote:
I checked out the helper library for FILE_IO. Very nice.

First of all, how about adding docstrings in the same form as the SQL library? I'm willing to help writing it if you want.

Secondly, I wonder why some functions are defined the way they are though. For example, wouldn't it make more sense to define FIO∆fread like this instead, and then skip the FIO∆fread_5000 function:

∇Zi ← blocksize FIO∆fread Bh
  →(0≠⎕NC 'blocksize')/use¯blocksize
  blocksize ← 5000
use¯blocksize:
  Zi ← blocksize FILE_IO[6] Bh

Regards,
Elias


reply via email to

[Prev in Thread] Current Thread [Next in Thread]