« first day (1231 days earlier)
← previous day
next day →
last day (304 days later) »
doug
4:44 AM
Those two minuses in a row look funny. You could also use
-_0.5-
5 hours later…
oeuf
9:18 AM
A super-duper simple language that I wrote in K:
ngn.codeberg.page/k/#eJxVjkFLAzEQhe/…
chrispsn
10:02 AM
@oeuf it's always a risk that golfing can distort understanding, but anyway: you could write
{e[p[t x]]}
as
e p t@
2 hours later…
oeuf
11:42 AM
How do you read CLI arguments in K?
I found the solution by using the default
x
variable.
TIL that executing
curl
in the online playground completely bricked it:
ngn.codeberg.page/k/…
coltim
12:18 PM
you may also be able to get away with
p:{(*x)/1_x}
(since
str/x
works the same as
char/x
)
2 hours later…
oeuf
2:17 PM
How do you eliminate the
(:: :: :: ...)
when printing in K?
2 hours later…
ngn
4:19 PM
@oeuf i'm guessing that that's the result from
{..}'something
where the
{..}
returns nothing (
::
) - if so, you can suppress output by appending a
;
@oeuf that's a bare bones environment - just ngn/k compiled for wasm, with faked syscalls :) there's no OS kernel, no libraries, no utilities
..not even a real filesystem
« first day (1231 days earlier)
← previous day
next day →
last day (304 days later) »
all rooms
Transcript for
Jul
20
Jul '22
21
Aug
1
the k tree
app.element.io/#/room/#ngnk:matrix.org
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile