|
From: | Henrik Moller |
Subject: | Re: APL lambda question |
Date: | Wed, 23 Oct 2024 15:16:01 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 |
Gave it a try: x←6 y←⍳5 (2=⎕nc'x') →→ x⍴y ←→ ⍴y ←← 1 2 3 4 5 1 )erase x (2=⎕nc'x') →→ x⍴y ←→ ⍴y ←← 5 tryit←{(2=⎕nc'x') →→ x⍴y ←→ ⍴y ←←} =================================================== SEGMENTATION FAULT *** useless apl.lines (no CXXFLAGS=-rdynamic -gdwarf-2) ---------------------------------------- -- Stack trace at main.cc:102 ---------------------------------------- 0x7fd5887171e2 __libc_start_main 0x485c8a main 0x63dd25 Workspace::immediate_execution(bool) 0x4ef575 Command::process_line() 0x4efbe1 Command::finish_context() 0x4fc307 Executable::execute_body() const 0x5cd5c0 StateIndicator::run() 0x53bb21 Prefix::reduce_statements() 0x53b430 Prefix::push_END_error() 0x536636 Prefix::syntax_error(char const*) 0x4fc0a1 throw_apl_error(ErrorCode, char const*) 0x4fbe3f Error::update_error_info(StateIndicator*) 0x500770 Executable::set_error_info(Error&, Function_PC2) const 0x7fd588cfd1b0 0x48b0b7 ======================================== ======================================== ==================================================== Probably not worth trying to fix this--it's too obscure. [3] ~tinkering/apl/mtx/src > On 10/23/24 12:30, Dr. Jürgen Sauermann
wrote:
Hi Hendrik, |
[Prev in Thread] | Current Thread | [Next in Thread] |