Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rjeli
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
451.
▲
by
rjeli
11y ago
pbpaste and pbcopy never really occur in ambiguous situations, so I wrote the following shell script: function clip { [ -t 0 ] && pbpaste || pbcopy } This is easier to type and allows for the following: % echo hello | cli
452.
▲
by
rjeli
11y ago
(reduce + (map (comp inc inc) (range 10))) is not analogous to (_ + 2). The more similar and idiomatic code is: (reduce + (map #(+ % 2) (range 10)))
453.
▲
by
rjeli
11y ago
Do you know why Jane Street chose OCaml over Haskell? They have similar performance, right?
454.
▲
by
rjeli
11y ago
Sounds like you're interested in C++.