Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of monadic form when not necessary #625

Open
tavmem opened this issue Mar 16, 2022 · 0 comments
Open

Use of monadic form when not necessary #625

tavmem opened this issue Mar 16, 2022 · 0 comments
Labels
incompatibility result is different than k2.8 or k3.2

Comments

@tavmem
Copy link
Collaborator

tavmem commented Mar 16, 2022

This incompatibility was also identified by Douglas Menella.

in k2.8 and k3.2, each of the following produces an error:

C:\k3.2>k
K 3.2 2005-06-25 Copyright (C) 1993-2004 Kx Systems
WIN32 8CPU 3904MB [desktop-fvkenu9.myfiosgateway.com](http://desktop-fvkenu9.myfiosgateway.com/) 0

  #: 1 2 3
syntax error
#: 1 2 3
 ^
parse error


  +:(1 2;3 4)
syntax error
+:(1 2;3 4)
 ^
parse error


  -:234
syntax error
-:234
 ^
parse error

  *:!5
syntax error
*:!5
 ^
parse error

In Kona, none produce an error:

$rlwrap -n ./k
kona      \ for help. \\ to exit.

  #: 1 2 3
3
  
  +:(1 2;3 4)
(1 3
 2 4)
  
  -:234
-234
  
  *:!5
0
@tavmem tavmem added the incompatibility result is different than k2.8 or k3.2 label Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
incompatibility result is different than k2.8 or k3.2
Projects
None yet
Development

No branches or pull requests

1 participant