lzth.net
当前位置:首页 >> hutton hAskEll >>

hutton hAskEll

n = a `div` length xs where a = 10 xs = [1,2,3,4,5] last :: [a] -> a last = head.reverse last :: [a] -> a last x = reverse x !! 0 init :: [a] -> [a] init = reverse . tail . reverse init :: [a] -> [a] init x = reverse (drop 1 (r...

网站首页 | 网站地图
All rights reserved Powered by www.lzth.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com