List of random ideas in programming/CS.
firstHalf :: [a] -> [a]firstHalf list0 = div list0 list0 where div (a,b:arg) (r:res) = r:div arg res div _ _ = []
Post a Comment
No comments:
Post a Comment