In general, use >> if the actions don’t return a value, >>= if you’ll be immediately passing that value into the next action, and do-notation otherwise.
>> >>= do
最新推荐文章于 2011-05-30 20:56:00 发布
In general, use >> if the actions don’t return a value, >>= if you’ll be immediately passing that value into the next action, and do-notation otherwise.