在〈Maybe 有無、Either 對錯〉談過,head [] 會拋出Exception: ghci> head [] *** Exception: Prelude.head: empty list ghci> 也談到因為惰性的 ...
確定! 回上一頁