Yes viz.:
tryit←{⍺ + ⍵ }
4 tryit 5
9
w
On 10/23/24 10:55, Henrik Moller wrote:
To all APLers: In GNU APL, is there any way to define an ambivalent
lambda? I.e., if you define a lambda
tryit←{...}
is there any way to make it work with both
tryit 1
and
1 tryit 2
period pd;cmd
⍝ Function confirms that the period is defined. The right argument
⍝ is a nested vector of company and period.
cmd←'SELECT period from periods where period = ''',pd,''''
b←0≠1↑⍴cmd SQL∆Select[handle] pd
I'm trying to learn how to write a graphic program.
Following the instructions in HOWTOs/Quad-GTK.html, I created
GTK_sample_app.ui and offered that file to ⎕GTK. The log show the failure.
Undaunted, I copied the XML in the instruction and create
GTK_jurgen.ui. Offering that file worked.
This announcement is for all of us who crunch numbers for a living, in
apl or out of it.
I wrote Hot Footer in 2004 and have been using almost daily since
then. I was sick and tired of playing with the paper tapes generated
by tape calculators and decided a virtual tape (from which I could
copy a
If you change your printing width APL may not print the overflow of each
line as a separate line.
tmp←2 50 ⍴ ⍳ 100
⎕pw←225
tmp
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
49
ded to the tb_DocLines table.
⍝ Each document is uniquely identified by it's journal, name and date.
⍝ Copyright (C) 2018 Bill Daly
⍝ This program is free software: you can redistribute it and/or modify
⍝ it under the terms of the GNU General Public License as published by
⍝ the Free Software Fou
Log of session attached
w
*** useless apl.lines (no CXXFLAGS=-rdynamic -gdwarf-2)
-- Stack trace at Archive.cc:2002
0x7feed1f75d0a __libc_start_main
0x5569ad9e3973 main
0x5569ad9ecc26 init_apl(int, char const**)
tached the workspace, html.apl
(which is copied into wp) and and example session.
Has any one used this contraption? Is it useful? Should I convince
Jürgen to merge into gnu-apl?
Your thoughts would be appreciated.
Bill Daly
#! /usr/local/bin/ap
I'm sending a revised ComponentFiles.apl which )copies 5 SQL. The SQL
functions in the published workspace no longer work.
w
#!/usr/local/bin/apl --script --
⍝
⍝ ComponentFiles 2014-07-14 12:26:28 (GMT-5)
⍝
⍝⍝
try apl --noColor
w
On 8/28/22 09:34, knud van eeden wrote:
Hello,
The colors of the output are not readable
out of the box when running it e.g. in
console cmd.exe on Microsoft Windows 10.
Current workaround:
1. -Keep pressing many times until the color changes to grey
2. -Then type your
name←,⊃name
→(options ap∆opts∆has_opt name)/s2
options←options ap∆add_error 'SYNTAX ERROR, ',name,' IS NOT A VALID OPTION.'
→0
s2:
opt←options ap∆opts∆get_opt name
opt←opt ap∆opt∆set_value 1
options←options ap∆opts∆set_opt opt
→0
help:
options←options ap∆opts∆set_
Here is a log of a startup session
This is the gnu-apl-mode interactive buffer.
To toggle keyboard help, call M-x gnu-apl-show-keyboard (C-c C-k by
default).
APL symbols are bound to the standard keys with the Super key. You can also
activate the APL-Z input method (M-x toggle-input-method or
)wsid my_stuff
WAS CLEAR WS
)copy 3 meta
DUMPED 2022-02-26 20:21:50 (GMT-5)
meta∆make_function 'my'
Author: Bill Daly
BugEmail:b...@dalywebandedit.com
Documentation: none
Download:you can't
License: because there is no license
Portab
I've posted a new version of APL Library to
https://sourceforge.net/projects/apl-library/. Mostly bug fixes.
w
I'm trying to get my laptop ready for a three week trip when I tripped
over an error using apl-library/apl_kbd workspace.
Andelot is the name of my laptop and the attached log shows the error
(including some of my own) and some testing I did to see if I could
figure out whats going on.
Verdu
I've been testing apl on Fedora. I installed gnu-apl using
apl-1.8-0.x86_64.rpm. As installed, /etc/gnu-apl.d/preferences read:
LIBREF-3 /usr/lib/apl/wslib3
LIBREF-4 /usr/lib/apl/wslib4
LIBREF-5 /usr/lib/apl/wslib5
I changed that to:
LIBREF-3 /usr/lib64/apl/wslib3
LIBREF-4 /usr/lib
Good afternoon Jürgen,
Please look at the attached log.
It doesn't look like you need the actual workspaces to recreate this.
Let me know if you do.
w
)lib /dilworth/cotrugli/workspaces
cotrugli
)save /dilworth/cotrugli/workspaces/tb_2019
)lib /dilworth/cotrugli/wor
Starting with version 0-2-3 (6/8/2019) of my APL Library you can
populate the library's workspaces in Package Manager.
I've reloaded Package Manager from
https://github.com/blakemcbride/APL-Pkg.git and much of APL Library will
not ]pkg load. The errors appear to be caused by creating variable
I was not really sure of how format by example worked:
'This is a description 55,550.' ⍕ t1[1;1]
==
Assertion failed: row.size() == format.size()
in Function: format_by_example
in file: Bif_F12_FORMAT
r results.
w
#! /usr/local/bin/apl --script
⍝
⍝ apl_kbd.apl Workspace to enable the windows key for apl characters.
⍝ Copyright (C) 2020 Bill Daly
⍝ This program is free software: you can redistribute it and/or modify
⍝ it under the terms of the GNU General Public License as publis
FIO_Create_mask←(8⍴8)⊥0 0 0 0 0 7 7 7
FIO_Create_mask FIO∆mkdir '/home/dalyw/test/FIO_test'
¯2
FIO∆strerror ¯2
No such file or directory
FIO∆read_directory '/home/dalyw/test'
5767711 8549106885002863117 32 4 FIO_test
FIO∆rmdir '/home/dalyw/test/FIO_test'
0
FIO∆
I've uploaded a new version of APL Library. I added a new data type,
dateflow, to the finance workspace.
w
A session log:
dalyw@verdun:~$ echo $LINES
24
dalyw@verdun:~$ echo $COLUMNS
80
dalyw@verdun:~$ apl
⎕env 'LINES'
End of log.
What happended to LINES?
w
I posted a new version to APL-Library to sourceforge.net last night. It
includes a rewrite of utf8 workspace.
w
https://github.com/TieDyedDevil/apl-pkg is now missing and the links on
the APL Community Web Page are broken
w
s
over my eyes until the thought went away.
w
#! /usr/local/bin/apl --script
⍝ Rewrite dom∆parse∆openElm to deal with closed element tags
⍝
⍝ dom.apl Partial implementation of the Document Object Model
⍝ Copyright (C) 2019 Bill Da
I'd like to contribute the two attached files to the gnu-apl project.
Quad_FIO.tc includes test cases for FIO∆pipeto and FIO∆pipefrom, while
FILE_IO.apl has a revised version of FIO∆pipeto discovered during testing.
Bill Daly
#!/usr/local/bin/apl --s
014-07-29 15:40:42 (GMT+2)
⍝
⍝ Copyright (C) 2008-2019 Dr. Jürgen Sauermann
⍝ Copyright (C) 2017 Christian Robert
⍝ Copyright (C) 2020 Bill Daly
⍝ This library contains APL wrapper functions the system function ⎕FIO
⍝
⍝ The pur
I'd like to contribute my changes to FILE_IO.apl to the GNU APL
project. A revised file, with my changes is attached.
Bill Daly
#!/usr/local/bin/apl --script --
⍝
⍝ ⎕FIO.apl 2014-07-29 15:40:42 (
I get errors when I run ]DOXY
This tarball includes :
1. lex.apl
2. /tmp/1 doxy (created by ]DOXY
3. The log showing how I created item 2
W
doxy_test.tgz
Description: application/compressed-tar
Fixed. Try git clone https://git.code.sf.net/p/apl-library/code
apl-library-code
w
On 12/20/19 1:33 PM, Mr. Brian B. McGuinness wrote:
Looking through the functions in workspace 1 STAT I noticed that
stat∆skewness calls stat∆pearson with no argument (under line label
"four"):
∇skewness←s
l --script
⍝
⍝ utf8 workspace to read and write utf8 files
⍝ Copyright (C) 2019 Bill Daly
⍝ This program is free software: you can redistribute it and/or modify
⍝ it under the terms of the GNU General Public License as published by
⍝ the Free Software
I played with this and I have a work around:
)copy 1 utl
⍝ Testing reveals curious string
t2←⊃utl∆convertStringToNumber ¨ t3←"""
→ 1 2 3
→ 4 ¯5 6
→ """
⍴t3
2
2⊃t3
4 \xaf5 6
⍝ Works with a dash
t1←⊃{utl∆convertStringToNumber ¨ ' ' utl∆split
Aside from demonstrating my complete inability to write an executable
line of code, this log file shows to issues:
1) APL crashes -- see line 234
2) APL truncates the line of code in the error message.
This was generated by Version / SVN 1.8 / Unversioned directory
As to reproducing these err
Hello all
I've posted a new version of APL library
(http://sourceforge.net/projects/apl-library). This version includes a
rewritten wp workspace.
wp has allowed me to publish my accounting workpapers as html files.
I've modified it to be a more general tool and to provide easier means
for
cript
⍝
⍝ rl.apl Using the linux kernel to seed ⎕RL
⍝ Copyright (C) Bill Daly 2019
⍝ This program is free software: you can redistribute it and/or modify
⍝ it under the terms of the GNU General Public License as published by
⍝ the Free Software Foundation, either version
I've uploaded an new version of apl-library:
https://sourceforge.net/projects/apl-library/files/latest/download
Bill Daly
Hi Jurgen
I tried the this link on the GNU APL Community web page and firefox
complained because it couldn't connect to the server.
w
Copyright (C) 2016, 2017, 2018 Bill Daly
⍝ This program is free software: you can redistribute it and/or modify
⍝ it under the terms of the GNU General Public License as published by
⍝ the Free Software Foundation, either version 3 of the License, or
⍝ (at your option) any later version.
⍝ This prog
Hello Jürgen
I've been working on two projects utl, my utility workspace with better
documentation and better function names and lpr, a workspace to print
directly from apl.
Now I've melted down the interpretor so I've sent three logs. I'm not
sending all the workspace I loaded to create the
Jürgen,
I've attached the my apl library so that you can recreate my bug if need be.
My problem is the messages generated by Quod-es:
LINE NAME MUST BE A CHARACTER STRING
'ID' 'TB' 'title' 'A Schedule' 'lines' ('CA' 1 'Current Assets'
'd' (1010 1110 1
310 1320 1390 1410) ' ' 'CL'
It seems that apl is dropping data when loading an apl file. Log of my
session is attached together with all the stuff I'm copying into the
workspace.
uname -a: Linux verdun 4.4.0-57-generic #78-Ubuntu SMP Fri Dec 9
23:50:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
To recreate this issue:
1
#!/usr/local/bin/apl --script
⍝
⍝ date 2016-11-29 12:51:06 (GMT-5)
⍝
⍝ date workspace implements lillian dates
⍝ Copyright (C) 2016 Bill Daly
⍝ This program is free software: you can redistribute it and/or m
I've started a repository for gnu apl libraries
https://sourceforge.net/projects/apl-library/
Can you put a link on the apl-community web pages.
Bill Daly
44 matches
Mail list logo