Why do I receive Non-exhaustive patterns in function compuneList

Published: 25/11/2019
Why do I receive Non-exhaustive patterns in function compuneList
Source: STACKOVERFLOW.COM

I am new to Haskell. I am trying to write a function called aplicaList which receives a number and list of functions [(a -> b)] , I want to return a list containing all the results [f(a)] Function compuneList is a function which receives a function f and a list of other functions [(g)] and results a list of functions [f(g())]. compuneList :: (b -> c) -> [(a -> b)] -> [(a -> c)] comp

Read more
Related news
Comment
FACEBOOK