Posts by Joao Parente • 43 points
2 posts
-
1
votes1
answer918
viewsQ: Position of an element in the list
Well, I had to do a function that, given a list and a number, returns the element from the list that is in that position (the number). Basically it is the function already defined. The problem is…
haskellasked Joao Parente 43 -
3
votes1
answer51
viewsQ: What is the difference between [a] and "a" in Haskhell?
That is correct?? [a] = a list with only 1 element a = a list of all the elements you want Ps: I have some doubts because some functions are of the type [a]->a but also read , for example [2,3]…
haskellasked Joao Parente 43