![](/img/trans.png)
[英]The example of strict evaluation from Simon Marlow's book "Parallel and Concurrent Programming in Haskell"
Simon Marlow 在他的《Haskell 中的並行和並發編程》一書中寫道: 插入操作有這一行: 這在 MVar 中放置未計算的表達式Map.insert name number book 。 如果我們要連續執行許多插入操作,MVar 將建立一個大的未計算表達式鏈。 為了獲得短暫的鎖定並且沒 ...