Better HN
topnewbestaskshowjobs
Log inSign up

kaykay

7 karma · joined Mar 26, 2009 (17y ago) · 7 submissions

Submissions

comment 9y ago · link · parent

Might have shorted Tesla

comment 9y ago · link · parent

There is a bug in the code, unless the input is expected to be a set instead of a list.

I believe the right implementation should be something like:

  main :: IO ()
  main = print $ quicksort [1, 123, 42, 90, 1, 23, 24, 12, 3]
  quicksort [] = []
  quicksort (x:xs) = quicksort left ++ [x] ++ quicksort right
      where left  = [ y | y <- xs, y < x ]
            right = [ y | y <- xs, y >= x ]

comment 11y ago · link · parent

Where did you get the > 100000 H1B's number?

comment 11y ago · link · parent

$5.99

comment 16y ago · link · parent

I switch between barefoot and Nike free for my runs. I like 'em. They resemble regular shoes so you could wear them all day.

comment 16y ago · link · parent

I just got a copy of this, meaning to read this for a long time.

comment 17y ago · link · parent

Part time