That works in an expression, of course. It doesn't survive return from a
function, though.
a←⊣3
a
3
⎕cr 'foo'
z←foo b
z←⊣b
foo 3
3
On Sun, Jul 27, 2014 at 7:43 PM, Elias Mårtenson wrote:
> Now that I think about it, there is actually.
>
> You use the monadic left-tac
Now that I think about it, there is actually.
You use the monadic left-tack function. It's a variation of monadic
right-tack which is the identity function.
Regards,
Elias
On 28 Jul 2014 02:03, "David B. Lamkins" wrote:
> Is there a way to have a defined function return a committed value?
>
> I
Under what circumstances would that be a problem? If you don't see a value
during testing why would your code use that value?
Regards,
Elias
On 28 Jul 2014 02:06, "Blake McBride" wrote:
> I hope not. I'd hate to not assign a value during a test, print nothing,
> only to have a real value assign
I agree. I would love to see lexical scope and closures, for example.
Regards,
Elias
On 28 Jul 2014 01:49, "Blake McBride" wrote:
> Dear Juergen,
>
> As I play with lambdas, I see many, many anomalies (like passing them, the
> difference between execution and passing, re-assignments, etc.). I
>
The name in wslib should be in upper case. The only reason it's in lower
case in the source directory is because our looks better in the file list.
I can change that if you want. :-)
Regards,
Elias
On 28 Jul 2014 01:37, "Juergen Sauermann"
wrote:
> Hi Elias,
>
> aha, I wasn't sure because Blake
ps -e |grep -i apserver
returns nothing.
I do a normal config/build/install, i.e. this is my build shell script:
#
cd ~/Backup/apl
rm -rf *
cp -rp ../gnu-apl.svn/* .
./configure
make
sudo make install
therefore, I think if APServer is not running, there is something wrong
with the build / inst
I have a shell script that does the build, so ./configure is always called.
Here is the complete output which shows the version number:
__ _ __ __ _____ __
/ // | / // / / / / | / __ \ / /
/ / __ / |/ // /
I hope not. I'd hate to not assign a value during a test, print nothing,
only to have a real value assigned in the code. Talk about confusion.
Blake
On Sun, Jul 27, 2014 at 1:03 PM, David B. Lamkins
wrote:
> Is there a way to have a defined function return a committed value?
>
> IOW, the fu
Hi Blake,
not exactly. More like this:
Welcome to GNU APL version 1.3 / 7688
...
⎕SVQ ⍳0
100 210
Looks like some ./configure or installation problem. Make sure
you did ./configure after last SVN update and see how (ps -e) APserver
is running.
/// Jürgen
On 07/27/
Is there a way to have a defined function return a committed value?
IOW, the function returns a value that can be assigned, but doesn't
print.
Is this what you intended?
⎕SVQ⍳0
Svar_DB not connected in Svar_DB::get_offering_processors()
100 210
On Sun, Jul 27, 2014 at 12:25 PM, Juergen Sauermann <
juergen.sauerm...@t-online.de> wrote:
> Hi Blake,
>
> thanks, fixed in SVN 398.
>
> /// Jürgen
>
>
>
> On 07/26/2014 12:58 AM, Bla
Dear Juergen,
As I play with lambdas, I see many, many anomalies (like passing them, the
difference between execution and passing, re-assignments, etc.). I
remember you saying that you weren't intending to go down that rabbit hole.
They sever a useful function as they are. I respect your view.
Hi Elias,
aha, I wasn't sure because Blake complained about the two different names.
And I didn't know what other users use in their )LOAD commands (I thought it
might be lowercase if people download sql.apl from your git repo directly).
Long-term we should have the same casing in the src/sql d
Hi Blake,
that probably works more by chance than on purpose.
/// Jürgen
On 07/27/2014 06:56 PM, Blake McBride wrote:
∇test;fun1;fun2
[1] fun1←{1+⍵}
[2] fun1 22
[3] fun2←fun1
[4] fun2 44
[5] ∇
test
23
45
Hi Blake,
thanks, fixed in SVN 398.
/// Jürgen
On 07/26/2014 12:58 AM, Blake McBride wrote:
⎕SVQ⍳0
Could not open /usr/local/bin/APs : No such file or directory
Svar_DB not connected in Svar_DB::get_offering_processors()
100 210
∇test;fun1;fun2
[1] fun1←{1+⍵}
[2] fun1 22
[3] fun2←fun1
[4] fun2 44
[5] ∇
test
23
45
Wow! Local function. Very nice!
On Sun, Jul 27, 2014 at 11:22 AM, Juergen Sauermann <
juergen.sauerm...@t-online.de> wrote:
> Hi Blake,
>
> thanks, fixed in SVN 397.
>
> /// Jürgen
>
>
>
> On 07/25/2014 11:51 PM, Blake McBride wrote:
>
>)CLEAR
> CLEAR WS
> ∇test;add
> [1] add←
Postgres support for column listing is now implemented. You can pull the
latest version from Git.
Others: Please test if you have the chance. I came across to C++
incompatibility issues when moving the code from OSX to Linux. I think I've
fixed it now.
Regards,
Elias
In the latest version from svn, the file in swlib5 is still sql.apl. I was
under the impression that it would be installed as SQL.apl (but with the
file in src/sql still being named in lower case). I.e. that the case would
be changed as it's copied from src/apl to wslib5.
Regards,
Elias
Hi Blake,
thanks, fixed in SVN 397.
/// Jürgen
On 07/25/2014 11:57 PM, Blake McBride wrote:
)CLEAR
CLEAR WS
a←{1+⍵}
a 5
6
⍎'b←{1+⍵}'
VALUE ERROR
b←{1+⍵}
^
Hi Blake,
thanks, fixed in SVN 397.
/// Jürgen
On 07/25/2014 11:51 PM, Blake McBride wrote:
)CLEAR
CLEAR WS
∇test;add
[1] add←{1+⍵}
[2] add 4
[3] ∇
==
Assertion failed: tidx < text.size()
in Function: se
21 matches
Mail list logo