Pop-Up Thingie
Sidebar
Too Lazy BBS
Home
Forum
Files
Chat
Bulletins
Top doors
MOTD
BBS Stats
Radio
AvatarChat
Dark
Register
Log in
Username
Password
Sidebar
Forum
USENET
comp.lang.apl
NARS "{quad}fmt" could have some problem inside one function
From
Rosario19
@Ros@invalid.invalid to
comp.lang.apl
on Wed Nov 15 14:44:59 2023
From Newsgroup: comp.lang.apl
The function f in 'braces' NARS language
f{leftarrow}{leftbrace}{alpha}=1:{omega}{diamond}r{leftarrow}1{downarrow}w{leftarrow}{omega}{diamond}{quad}{leftarrow}"(1{rightshoe}w)
r="{diamond}{quad}{leftarrow}{quad}fmt 1{rightshoe}w{diamond}{quad}{leftarrow}{quad}fmt r{diamond}{quad}{leftarrow}{quad}fmt t{leftarrow}{leftbrace}(1{rightshoe}w){omega}{rightbrace}{dieresis}r{diamond}{quad}{leftarrow}t{diamond}t{rightbrace}
the line of the call in text form
3 f (0 0)(1 2)(3 >4)(4 >5)
its output mixed braces and text
(1{rightshoe}w) r=
+2---+
a 0 0a
+~---+
+3---------------------+
a+2---+ +2----+ +2----+a
aa 1 2a a 3 >4a a 4 >5aa
a+~---+ +~----+ +~----+2
+?---------------------+
+3------------------------------------------------+
a+2------------+ +2-------------+ +2-------------+a
aa+2---+ +2---+a a+2---+ +2----+a a+2---+ +2----+aa
aaa 1 2a a 1 2aa aa 1 2a a 3 >4aa aa 1 2a a 4 >5aaa
aa+~---+ +~---+2 a+~---+ +~----+2 a+~---+ +~----+2a
a+?------------+ +?-------------+ +?-------------+3 +?------------------------------------------------+
1 2 1 2 1 2 3 >4 1 2 4 >5
1 2 1 2 1 2 3 >4 1 2 4 >5
The function g in 'braces' NARS language
g{leftarrow}{leftbrace}{alpha}=1:{omega}{diamond}r{leftarrow}1{downarrow}w{leftarrow}{omega}{diamond}{quad}{leftarrow}"(1{rightshoe}w)
r="{diamond}{quad}{leftarrow}1{rightshoe}w{diamond}{quad}{leftarrow}r{diamond}{quad}{leftarrow}
t{leftarrow}{leftbrace}(1{rightshoe}w){omega}{rightbrace}{dieresis}r{diamond}{quad}{leftarrow}t{diamond}t{rightbrace}
the line of the call in text form
3 g (0 0)(1 2)(3 >4)(4 >5)
(1{rightshoe}w) r=
0 0
1 2 3 >4 4 >5
0 0 1 2 0 0 3 >4 0 0 4 >5
0 0 1 2 0 0 3 >4 0 0 4 >5
0 0 1 2 0 0 3 >4 0 0 4 >5
Has you note the only change is the use or not use of "{quad}fmt" and
the what return
the same function is different (with the same imput)
--- Synchronet 3.21d-Linux NewsLink 1.2
Who's Online
Recent Visitors
Geek2
Sun May 17 07:06:15 2026
from
Euclid, Oh
via
Telnet
Geek2
Sat May 16 21:25:04 2026
from
Euclid, Oh
via
Telnet
Jas Hud
Sat May 16 00:50:28 2026
from
Bbs.Eob-Bbs.Com,wi
via
Telnet
Geek2
Fri May 15 19:53:20 2026
from
Euclid, Oh
via
Telnet
System Info
Sysop:
Amessyroom
Location:
Fayetteville, NC
Users:
65
Nodes:
6 (
0
/
6
)
Uptime:
07:36:30
Calls:
862
Files:
1,311
Messages:
264,829