Map Function and Lambda Expression Haskell

Viewed 36

I want to implement a function halves that takes a list of integers and divides each element of the list in two.

Function definition:

halves :: Integral a => [a] -> [a]

I want to use div but having trouble.

0 Answers
Related