Advertisement
Guest User

Untitled

a guest
Oct 26th, 2021
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.08 KB | None | 0 0
  1.  
  2. dropLast :: [a0] -> [a0]
  3. dropLast [] = []
  4. dropLast l = (reverse. reverse . init) l
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement