Diff: [root] @ 4d83a87a5e2 | faq | css

*brilliant

File: haskell-sucks [Diff]

diff --git a/haskell-sucks b/haskell-sucks
index 44a1167..ad47c64 100644
-- a/haskell-sucks
++ b/haskell-sucks
@@ -59,4 +59,4 @@ Let us use them for indexes? Well, we can: there are genericLength and friends.

Let us use Infinity like any other number? No. We can only get it, and NaN, as results of arithmetic operations, and check for them. Moreover, division by zero raises an error.

\ No newline at end of file
Other brilliand brilliant thing in Haskell: Maybe. But standard library seems to avoid it whenever necessary. Pass shit to *read*, *!!*, *tail*, *init*, etc. and get an error.
\ No newline at end of file

By Alexander Markov on 2011-07-25 14:03:33 +0400 Powered by bitcheese wiki engine