摘要: sayMe :: (Integral a) => a -> String sayMe 1 = "One" sayMe 2 = "Two" sayMe 3 = "Three" sayMe 4 = "Four" sayMe x = "Others" sayMe :: (Integral a) => a -> String sayMe x | x < 3 = "less than 3" | x =... 阅读全文
posted @ 2011-03-22 01:34 飞林沙 阅读(2131) 评论(0) 推荐(0) 编辑