Personal tools

Cum se scrie negatia ?

From HaskellWiki

Revision as of 10:39, 25 October 2007 by Ha$kell (Talk | contribs)

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

Negatia invata la logica nu are un semn aparte in Haskell.

In schimb o gasiti definita ca o simpla functie:

not :: Bool -> Bool

Folositi pur si simplu cuvantul not.