Use sort to order lists in Haskell


My question today arose because I was told that in haskell you can sort a list, and at the same time delete the repeated ones using the method sort(listaRecibida,listaOrdenada)

My problem is that I do not find how to put it in the code so that it receives the list by parameter and then returns it sorted using sort

Any help?

asked by keloo7 14.11.2018 в 21:27

0 answers