2
鑑於下面的部分功能(沒有輸出用於Nothing
輸入)的理解輸出:部分功能
f : Maybe Int -> Maybe Int
f (Just 42) = Just 42
的REPL顯示以下內容:
*Lecture> f $ Just 42
Just 42 : Maybe Int
*Lecture> f Nothing
f Nothing : Maybe Int
什麼是f Nothing
的含義輸出?