HackerTrans
トップ新着トレンドコメント過去質問紹介求人

chrispsn

no profile record

投稿

Arthur Whitney releases an open-source subset of K with MIT license

shakti.com
294 ポイント·投稿者 chrispsn·2 年前·227 コメント

K: Default Dicts?

gist.github.com
2 ポイント·投稿者 chrispsn·2 年前·0 コメント

Show HN: REPL.club – client-side interpreters in the browser

repl.club
2 ポイント·投稿者 chrispsn·3 年前·0 コメント

K: Default Dicts?

gist.github.com
2 ポイント·投稿者 chrispsn·3 年前·0 コメント

コメント

chrispsn
·2 年前·議論
Click on k, then k.zip.
chrispsn
·2 年前·議論
Adding to RodgerTheGreat's comment: for me, k's power is its rich set of adverbs that are convenient to write.

Notice that aside from reverse (monadic |), all verb symbols in the above code are in most other languages (max as |, min as &, plus as +, minus as -). Adverbs (such as / for reduce and \ for scan-reduce) make the symbols we already have more generally applicable.

I think a language could go a long way with a small set of basic arithmetic symbols alongside a rich set of adverb symbols.
chrispsn
·2 年前·議論
Glad to hear it’s memorable!
chrispsn
·2 年前·議論
Everything I've found that's public is documented here:

https://gist.github.com/chrispsn/da00835bb122c42f429a084df83...

The kparc.com links are down though.