HaskellWiki

Haskell | Wiki community | Recent changes
Random page | Special pages

 

Not logged in
Log in | Help

La ce serveste apostroful invers (`) ?

Categories: Ro

Transforma o functie cu doua argumente intr-un operator infixat.

 Exemplu: 
 
   g :: Int -> Int -> Int
   g a b = a+b

Functia se poate folosi acum si ca un operator: 1 `g` 2 ... ceea ce e echivalent cu: g 1 2



Pagina indexata la indexul Categories:Ro


<= Inapoi la pagina principala Ro/Haskell.

<- Inapoi la Intrebarile incepatorului Ro/Haskell.

Retrieved from "http://www.haskell.org/haskellwiki/La_ce_serveste_apostroful_invers_%28%60%29_%3F"

This page has been accessed 622 times. This page was last modified 09:44, 21 January 2008. Recent content is available under a simple permissive license.