mno2
Haskell 趣學指南

Updated 2 years ago

nobodyzxc (@nobodyzxc) started discussion #32

a year ago · 0 comments

Open

之前的章節我們實作了一個 RPN 計算機,但我們沒有做錯誤的處理。他只有在輸入是合法的時候才會運算正確。假如有東西出錯了,整個程式便會當掉。我們在這章看到了要怎樣把程式碼轉換成 monadic 的版本,我們先嘗適用 Maybe monad 來幫我們的 RPN 計算機加上些錯誤處理。

For a Few Monad More (Edit this file)

typo "嘗適" to "嘗試"

No description provided.

No comments on this discussion.


to join this conversation on GitBook. Already have an account? Sign in to comment
Notifications

You’re not receiving notifications from this thread.


1 participant