Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
pp:l02 [2021/03/14 08:49]
pdmatei
pp:l02 [2021/03/16 19:24] (current)
roxana_elena.stiuca [2.3. Strings in Haskell]
Line 85: Line 85:
 <code haskell> <code haskell>
     f [("Dan Matei Popovici",​9),​("​Mihai",​4),​("​Andrei Alex",​6)] =     f [("Dan Matei Popovici",​9),​("​Mihai",​4),​("​Andrei Alex",​6)] =
-    [(["​Dan",​ "​Matei",​ "​Popovici"​],​10),​(["​Andrei,​Alex"​],​6)]+    [(["​Dan",​ "​Matei",​ "​Popovici"​],​10),​(["​Andrei""Alex"​],​6)]
 </​code>​ </​code>​