kb 04.02.2013 06:31 04a3831c

Забавно, как ленивость не вошла в мозг даже авторам realworldhaskell.
> Note, though, that the chain is not completely short-circuited. Each (>>=) or (>>) in the chain will still match a Nothing on its left, and produce a Nothing on its right, all the way to the end. It's easy to forget this point: when a computation in the chain fails, the subsequent production, chaining, and consumption of Nothing values is cheap at runtime, but it's not free.
http://book.realworldhaskell.org/read/mo...

Ну неправда же. Всё там будет хорошо и второй аргумент не будет вычисляться.

Recommended by: @Minoru
1. ulidtko 04.02.2013 07:38

похоже, ты прав

2. kbulidtko /1 04.02.2013 08:45 04a3831c

да, чем хорош realworldhaskell — так это тем, что почти любая непонятность или возмущение подтверждается каментами, очень их много и полезных в том числе там

Do you really want to delete ?