https://wiki.haskell.org/index.php?title=Cum_activez_extensiile_Haskell_la_WinHugs_%3F&feed=atom&action=history
Cum activez extensiile Haskell la WinHugs ? - Revision history
2024-03-19T12:02:28Z
Revision history for this page on the wiki
MediaWiki 1.35.5
https://wiki.haskell.org/index.php?title=Cum_activez_extensiile_Haskell_la_WinHugs_%3F&diff=32256&oldid=prev
Ha$kell at 19:09, 7 December 2009
2009-12-07T19:09:53Z
<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 19:09, 7 December 2009</td>
</tr><tr>
<td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td>
</tr>
<tr>
<td colspan="2" class="diff-empty"> </td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Ro]]</div></td>
</tr>
<tr>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td>
</tr>
<tr>
<td class="diff-marker">−</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>== <del class="diffchange diffchange-inline">Intrebarea</del> ==</div></td>
<td class="diff-marker">+</td>
<td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>== <ins class="diffchange diffchange-inline">Intrebare</ins> ==</div></td>
</tr>
<tr>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Pentru a rula unul din exemplele din pagina "Evolution of a Haskell programmer" </div></td>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Pentru a rula unul din exemplele din pagina "Evolution of a Haskell programmer" </div></td>
</tr>
<tr>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>in care apare </div></td>
<td class="diff-marker"> </td>
<td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>in care apare </div></td>
</tr>
</table>
Ha$kell
https://wiki.haskell.org/index.php?title=Cum_activez_extensiile_Haskell_la_WinHugs_%3F&diff=24281&oldid=prev
Ha$kell at 19:04, 26 November 2008
2008-11-26T19:04:08Z
<p></p>
<p><b>New page</b></p><div><br />
== Intrebarea ==<br />
Pentru a rula unul din exemplele din pagina "Evolution of a Haskell programmer" <br />
in care apare <br />
<br />
Mull a b c | a b -> c <br />
<br />
iar Mul este o clasa de tipuri multiparametru, cum sa procedez ? <br />
Aparent WinHugs refuza clasele de tip multiparametru ca si cum nu ar fi in standardul Haskell 98.<br />
<br />
== Raspuns ==<br />
<br />
Nici nu sunt ! Clasele de tipuri multiparametru (o extensie naturala a claselor de tipuri) sunt o extensie ulterioara. <br />
<br />
Exemplu: Puteti forma o clasa de tipuri multiparametru cu 2 parametri cum ar fi tipurile:<br />
- tipul arborilor expresiilor logice si tipul valorilor logice (Bool)<br />
sau<br />
- tipul arborilor expresiilor intregi si tipul valorilor intregi<br />
sau<br />
- tipul arborilor expresiilor reale si tipul valorilor reale<br />
sau<br />
- tipul arborilor expresiilor peste Z4 si tipul valorilor din Z4<br />
Clasa am putea-o numi <br />
Evalueaza t1 t2<br />
unde t1, t2 sunt cele doua tipuri.<br />
<br />
== Ce e de facut ? ==<br />
Lansati Hugs sau Winhugs cu optiunea '''-98'''. Fie din consola fie copiind iconita winHugs/Hugs si editandu-i proprietatile. Schimbati linia de comanda cu una care are la final '''-98'''.<br />
<br />
----<br />
pagina in dezvoltare</div>
Ha$kell