Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dropLast :: [a0] -> [a0]
- dropLast [] = []
- dropLast l = (reverse. reverse . init) l
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement