Good afternoon.
I need to create a function in Haskell
that verifies that several elements are in that order in a given list.
That is:
se_encuentra [5,4,7] [1,4,5,4,7,9,10] == True
se_encuentra [5,4,7] [1,4,6,6,5,4,0,7] == False
I'm trying to do it with subsequences
(Data.List), but it does not work as I pretend.
Warm regards. Thank you very much for your attention.