Haskell Given the following list: l = [5,3,8,23,-6,2,13,7,4] create a new list lnew, which only contains the values
Posted: Mon Jul 11, 2022 9:50 am
Haskell Given the following list: l = [5,3,8,23,-6,2,13,7,4] create a new list lnew, which only contains the values of l, which are greater than the mean of l. (mean= (list value and index i / list length)print lnew! Dont use any other higher-order functions for this, apart from filters.