News for hackers. Stuff that matters.
Re:A Taste of Haskell by sammoth on Tuesday October 25, 2016 @08:15AM (#12787207)
What are you implying? What should they have used?
Re:A Taste of Haskell by tome on Tuesday October 25, 2016 @09:12AM (#12787630)
The list datatype is horrendously unsuited for being used a queue. They should have used a datatype designed for use as a queue.
Re:A Taste of Haskell by bbcbasic on Tuesday October 25, 2016 @02:54PM (#12790581)
There are better pure queue types and STM channels and suchlike that are designed for the job, so if bench-marking then you want to be fair to Haskell and use the right type.