bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Question about behavior of ⍋


From: David Lamkins
Subject: [Bug-apl] Question about behavior of ⍋
Date: Mon, 7 Jul 2014 11:25:40 -0700

Given a list of character vectors (and scalars), grade appears to generate the permutation vector first by length then by content.

      ⍋'aaa' 'xx' 'y' 'bbb' 'cc'
3 5 2 1 4

This seems counterintuitive. It seems as if ⍋ treats character strings like numbers. Is this a bug?

--
"The secret to creativity is knowing how to hide your sources."
   Albert Einstein


http://soundcloud.com/davidlamkins
http://reverbnation.com/lamkins
http://reverbnation.com/lcw
http://lamkins-guitar.com/
http://lamkins.net/
http://successful-lisp.com/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]