g__ | 14 years ago | on: A Gentle Introduction to Category Theory [pdf]
g__'s comments
g__ | 15 years ago | on: Ask HN: What is a monad?
You'll see Haskell tutorials delay telling about the concept. There's a reason.
For a bird's eye of monads you can check this: http://www.reddit.com/r/programming/comments/64th1/monads_in...
If you are ready, read and do exercises in http://blog.sigfpe.com/2007/04/trivial-monad.html and then http://blog.sigfpe.com/2006/08/you-could-have-invented-monad....
g__ | 15 years ago | on: Google update on China
我们已移至 google.com.hk
请收藏我们的新网址
g__ | 15 years ago | on: A Haskell webserver ...
g__ | 16 years ago | on: S4 - $12 for 1 year of 1 TB write-only storage
$ pv /dev/zero > /dev/null
18.6GB 0:00:05 [3.76GB/s] [ <=> ]g__ | 16 years ago | on: Haskell: Pure and Lazy, yet Functional
http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html
In Haskell they don't - you might write this "producer-consumer" composing a function that produces a stream with a function that consumes a stream. How would you approach that problem in C++?
g__ | 16 years ago | on: Donald Knuth making an Earthshaking Announcement June 30 in San Francisco
The problem is: will humanity find a feasible algorithm?
g__ | 16 years ago | on: Good read: cPython's dictionary implementation
g__ | 16 years ago | on: 9,73,241,561,1081,1849,_?_
g__ | 16 years ago | on: 9,73,241,561,1081,1849,_?_
http://threesixty360.wordpress.com/2008/04/30/1-2-4-8-what-c...
g__ | 16 years ago | on: I am a former executive of a large famous company in the computer industry. AMA
g__ | 16 years ago | on: Layman's Guide to the Banach-Tarski Paradox
http://www.math.ucla.edu/~tao/resource/general/121.1.00s/tar...
g__ | 16 years ago | on: Haskell Sudoku solver
I'd use pointless style more: row = (!!)
The function valid has a lot of repetition, maybe the repeating part can be abstracted of?
Instead of length possible > 0, you can use not $ null possible. This is faster, since it doesn't go through the whole list.
Instead of pattern matching on Maybe (tile), you can use Prelude's maybe.
g__ | 16 years ago | on: ACM 20 Most Influential Papers on Programming Languages [tarball]
http://www.reddit.com/r/programming/comments/9220o/ask_progg...
g__ | 16 years ago | on: UK Postal Code Data leaked