bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] Inconsistent behaviour or operator /


From: Elias Mårtenson
Subject: [Bug-apl] Inconsistent behaviour or operator /
Date: Sun, 12 Jun 2016 06:20:17 +0800

The following gives a very obvious result:

      (1 2),(2 3),(3 4)
┏→━━━━━━━━━━┓
┃1 2 2 3 3 4┃
┗━━━━━━━━━━━┛

Assuming that the / operator splices the function between each value, you'd expect the following to yield the same result, but it becomes boxed. Is there an explanation for this?

      ,/ (1 2) (2 3) (3 4)
┏━━━━━━━━━━━━━┓
┃┏→━━━━━━━━━━┓┃
┃┃1 2 2 3 3 4┃┃
┃┗━━━━━━━━━━━┛┃
┗∊━━━━━━━━━━━━┛

Regards,
Elias

reply via email to

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