News for hackers. Stuff that matters.
Re:Eta – A powerful language for building scalable systems o... by danielam on Wednesday January 11, 2017 @11:30AM (#13375076)
There's a bug in the quicksort implementation example (it assumes all values in the list are unique).
Re:Eta – A powerful language for building scalable systems o... by dualogy on Wednesday January 11, 2017 @11:41AM (#13375197)
If I were working on this kind of project, I'd just take code-that-compiles-in-GHC (ie. 1000s of samples --- just put up today for Haskell: https://github.com/metaleap/rosetta-haskell-dump ) and automatically verify the outputs-of-my-outputs match the GHC-compiled ones ... regardless of the actual real-world merit of said code samples themselves :)
Re:Eta – A powerful language for building scalable systems o... by eklavya on Wednesday January 11, 2017 @11:33AM (#13375101)
Also in the STM example, they only ever read sender's balance and never the receiver's balance.
Re:Eta – A powerful language for building scalable systems o... by rahulmutt on Wednesday January 11, 2017 @11:47AM (#13375248)
Great catch! I've pushed the update. Should be fixed soon.