Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on What it's like to use Haskell. Parent comment
In other words, "sort lst" gives you a sorted list, but "take 5 (sort lst)" gives you the first five elements, without sorting the rest of the list.
There are no comments on this comment yet.
In other words, "sort lst" gives you a sorted list, but "take 5 (sort lst)" gives you the first five elements, without sorting the rest of the list.