tag:blogger.com,1999:blog-35239171.post590030598149355998..comments2018-05-04T15:19:41.137+09:00Comments on na2hiro's devlog (仮): Haskellで多項間比較演算子na2hirohttp://www.blogger.com/profile/01938562923278765238noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-35239171.post-58940398250638248662013-05-28T02:08:11.319+09:002013-05-28T02:08:11.319+09:00コメントありがとうございます.
これは簡潔ですね!コメントありがとうございます.<br />これは簡潔ですね!na2hirohttps://www.blogger.com/profile/01938562923278765238noreply@blogger.comtag:blogger.com,1999:blog-35239171.post-60153566805141863192013-05-16T09:08:22.523+09:002013-05-16T09:08:22.523+09:00myLT :: Ord a => [a] -> Bool
myLT xs = and $...myLT :: Ord a => [a] -> Bool<br />myLT xs = and $ zipWith (<) xs $ tail xs<br /><br />というやり方もありますね。ツムジhttps://www.blogger.com/profile/11465832695285773637noreply@blogger.com