Posts by larissa • 11 points
2 posts
-
1
votes2
answers205
viewsQ: a Haskell function that receives with input a number n and a list and returns the number amount greater than n
maiores :: Int -> [Int] -> Int maiores _ [] = 0 maiores n (x:xs) someone has some idea of how to do?
-
0
votes1
answer84
viewsQ: how to create a function that checks if two lists are equal without using the operator (==)?
iguais:: [Int]->[Int]->Bool iguais [] [] = True iguais [] _ = False iguais _ [] = False iguais (x:xs) (z:zs) this is the code, I only did so far. Someone can help me?…