{"body":"all''' :: (a -> Bool) -> [a] -> Bool\nall''' f [] = True\nall''' f (x:xs) = f x && all''' f xs\n--Error during run time\n{-\nall''' [2,4,6]\n\n<interactive>:48:8: error:\n    • Couldn't match expected type ‘a -> Bool’ with actual type ‘[a0]’\n    • In the first argument of ‘all'''’, namely ‘[2, 4, 6]’\n      In the expression: all''' [2, 4, 6]\n      In an equation for ‘it’: it = all''' [2, 4, 6]\n    • Relevant bindings include\n        it :: [a] -> Bool (bound at <interactive>:48:1)\n*Main> :l 2-functions-higherorder.hs \n-}","name":"","extension":"hs","url":"https://www.irccloud.com/pastebin/QVu0YNWM","modified":1646519074,"id":"QVu0YNWM","size":543,"lines":16,"own_paste":false,"theme":"","date":1646519074}