DEV Community

K Vinod Kumar
K Vinod Kumar

Posted on

Answer: how to see the implemented code of a function of a module in haskell?

Probably the most convenient way to do it, is use Hackage. You can for instance inspect the map function, by clicking Source on the right side of the function signature. This then will show the highlighted code fragment. For instance:

map :: (a -> b) -> [a] -> [b]

Oldest comments (0)