I have a function here
(map (\ (a, b) -> dir a b) $ routes
where routes
is a list of tuples and it contains
routes = [...
("graph-fb", seeOther redirectUrlGraphEmail $ toResponse ""),
("post-fb", seeOther redirectUrlGraphPost $ toResponse ""),
...]
Here is the question: when I call this function to apply dir on each tuple, which function is going to be returned as b
in dir a b
first, the function seeOther redirectUrlGraphEmail
or seeOther redirectUrlGraphEmail $ toResponse ""
?