https://wiki.haskell.org/index.php?title=Cum_se_scrie_un_modul_%3F&feed=atom&action=historyCum se scrie un modul ? - Revision history2024-03-19T12:48:58ZRevision history for this page on the wikiMediaWiki 1.35.5https://wiki.haskell.org/index.php?title=Cum_se_scrie_un_modul_%3F&diff=30838&oldid=prevHa$kell at 09:38, 16 October 20092009-10-16T09:38:24Z<p></p>
<p><b>New page</b></p><div><br />
[[Category:Ro]] <br />
<br><br />
<br />
<center> <br />
http://www.haskell.org/sitewiki/images/4/4c/Header2-RoH.gif<br />
<br />
Din '''12 mai 2009 ''' Ro/Haskell se inscrie intre organizatiile semnatare ale [http://www.capetowndeclaration.org/list_signatures?indorg=all&keyword=Romania" Open Education Declaration"].<br />
</center><br />
<br />
----Incepeti prin a scrie<br />
<br />
''module '''Nume''' where ''<br />
<br />
bineinteles cu numele dorit de dumneavoastra. Acest nume va aparea ca prompter in WinHugs dupa ce incarcati modulul.<br />
<br />
Apoi adaugati pe randul urmator si celelate module pe care el le importa :<br />
<br />
''import MyFunctions1 ''<br />
<br />
sau <br />
<br />
''import MyModule hiding myfunction''<br />
<br />
Modulul poate importa mai multe module, care va sunt necesare.<br />
Unele module sunt importate implicit, de exemplu biblioteca standard (un fel de stdio.h al Haskell-ului) asa ca sunteti scutit de a scrie<br />
<br />
''import Prelude''<br />
<br />
---<br />
[[Image:Haskelllogo-small-flag-RO-8.jpg|center|Haskell - Un limbaj functional pur]]<br />
<center> Bannerul comunitatii Ro/Haskell. </center></div>Ha$kell