[Top][All Lists]

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

Re: [Bug-apl] Possible improvement to ]BOXING

From: Juergen Sauermann
Subject: Re: [Bug-apl] Possible improvement to ]BOXING
Date: Tue, 04 Mar 2014 19:00:52 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Elias,

I believe it would be more confusing if ⎕CR is sometimes computed and sometimes not.

The example below might be easy to detect but what about cases like Z←8 ⎕CR xxx ◊ Z or
some ⎕CR returned by a function?

/// Jürgen

On 03/04/2014 05:35 AM, Elias Mårtenson wrote:
I love ]BOXING and I'm using it all the time now. It's particularly useful when you're a beginner like myself.

Would it be possible to prevent the application of the default ]BOXING value when explicitly using ⎕CR? Consider this interaction?

      ]BOXING 8
      'foo' 'bar'
│┌→──┐ ┌→──┐│
││foo│ │bar││
│└───┘ └───┘│
      8⎕CR 'foo' 'bar'
││┌→──┐ ┌→──┐││
│││foo│ │bar│││
││└───┘ └───┘││

Oops... The last one applies 8⎕CR on output that has already been boxed. That can be a bit confusing.


reply via email to

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