Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Use of monadic form when not necessary #625

@tavmem

Description

@tavmem

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    incompatibilityresult is different than k2.8 or k3.2

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions