This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
laboratoare:04-tipuri-de-date-abstracte [2016/03/21 21:09] radu.stoenescu [Tipuri de date abstracte (TDA)] |
laboratoare:04-tipuri-de-date-abstracte [2016/03/24 14:54] (current) mihai.dumitru2201 Correction |
||
---|---|---|---|
Line 277: | Line 277: | ||
<code haskell> | <code haskell> | ||
- | List a = Empty | Cons a (List a) | + | data List a = Empty | Cons a (List a) |
</code> | </code> | ||