Personal tools

Cum se scrie negatia ?

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
m
m
Line 6: Line 6:
   
 
Folositi pur si simplu cuvantul '''not'''.
 
Folositi pur si simplu cuvantul '''not'''.
  +
  +
----
   
 
[http://www.haskell.org/haskellwiki/Ro/Haskell <= Inapoi la pagina principala Ro/Haskell ]
 
[http://www.haskell.org/haskellwiki/Ro/Haskell <= Inapoi la pagina principala Ro/Haskell ]

Revision as of 11:07, 25 October 2007

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.


<= Inapoi la pagina principala Ro/Haskell