摘要: 模式匹配 as模式 guard bmiTell weight height | weight / height ^ 2 <= 18.5 = "you are thin." | weight / height ^ 2 <= 25 = "you are nomal." | weight / height 阅读全文
posted @ 2016-10-20 15:58 無限大 阅读(141) 评论(0) 推荐(0) 编辑