File diff: [root]/haskell-sucks @ e73bf9d11fb | src | log | faq | css

diff --git a/haskell-sucks b/haskell-sucks
index af70d36..44a1167 100644
-- a/haskell-sucks
++ b/haskell-sucks
@@ -45,6 +45,12 @@ bc. vt ->redMask= 666

Where "->redMask=" is another postfix operator.

Also, you can get very nice runtime error if you write code like this

bc. data Type = Cons1 { prop1 :: Int }
| Cons2 {prop2 :: Int }
main = print $ prop2 $ Cons1 {prop1 = 0}

h2. base library sucks

Haskell has brilliant thing: infinite integral types.

By Voker57 on 2010-06-07 11:49:39 +0400 Powered by bitcheese wiki engine