« first day (1002 days earlier)      last day (533 days later) » 

18:43
Would it make sense for =': to be given the first item as the initial value as a special case? Would be useful for checking if all elements are the same
ngn
ngn
18:56
@copy doesn't it already work that way? ngn.codeberg.page/k/#eJxTSlSyVbdSSkxKVgIADw4Crg==
I was thinking something like this (unless you know a shorter idiom): ngn.codeberg.page/k/#eJxT01eIsVW3MjRQNgAADQQCJA==
ngn
ngn
so you want the default left arg to be first of the right arg
ngn
ngn
some arithmetic operations such as + * & | have an identity elements - it's easy to choose a default left arg for them
but = doesn't have such an identity element, it defaults to a null like 0N, or " ", etc
@copy what if you're looking for doubled characters in a string. wouldn't you be surprised if the first one comes out as doubled?
Ah, right
Good point
19:29
Turns out 1=#? is shorter anyway, duh
 
3 hours later…
22:56
What is this room?
@Fmbalbuena it's a room for discussion about the k language & its derivatives
ok what is K?
K is a proprietary array processing programming language developed by Arthur Whitney and commercialized by Kx Systems. The language serves as the foundation for kdb+, an in-memory, column-based database, and other related financial products. The language, originally developed in 1993, is a variant of APL and contains elements of Scheme. Advocates of the language emphasize its speed, facility in handling arrays, and expressive syntax. == History == Before developing K, Arthur Whitney had worked extensively with APL, first at I. P. Sharp Associates alongside Ken Iverson and Roger Hui, and later at...
golflang?

« first day (1002 days earlier)      last day (533 days later) »