Understanding the type of (,) <$> length <*> head

前端 未结 0 2032
广开言路
广开言路 2021-02-03 19:00

I have this pair of functions

(,) <$> length :: Foldable t => t a -> b -> (Int, b)

and,

head :: [a] -> a
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题