我們使用match 關鍵字來表示我們要進行Structural Pattern Matching。在上面這段程式中,我們會拿 subject 去跟每個case 後面的pattern 進行比對, ...
確定! 回上一頁