bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] Possible improvement to ]BOXING


From: Elias Mårtenson
Subject: [Bug-apl] Possible improvement to ]BOXING
Date: Tue, 4 Mar 2014 12:35:31 +0800

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.

Regards,
Elias

reply via email to

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