From HaskellWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Intentionam sa implementam in Rodin ambele feluri de alternative/ decizii.

1.Decizia cu doua ramuri.
daca <expr> atunci <expr> altfel <expr>

2.Decizia cu o ramura vida si una existenta.
daca <expr> atunci <expr>

Sunt similare cu if..then ... else respectiv cu if...then din Pascal.