Personal tools

Alternativa/Decizia/Conditionala

From HaskellWiki

Revision as of 17:27, 5 May 2009 by Ha$kell (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Alternativa/Decizia/Conditionala:

Intentionam sa implementam 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.
in teste ... daca <expr> atunci <expr>