. , , . , , Haskell , System FC, . , 7 Num a => a, , Haskell , System FC , Num a a. , , .
, , , , ! , , ,
x = really expensive computation
x. x ( seq evaluate ..), x, .
:
, GHCi , add1 4 7, ?!
! add1 4 GHCi. GHCi , , print. print , , ! , GHCi :print :sprint, .
Prelude> let foo = (1+2, 3+4) :: (Int, Int)
Prelude> :print foo
foo = ((_t3::Int),(_t4::Int))
Prelude> fst foo
3
Prelude> :print foo
foo = (3,(_t5::Int))
Prelude> snd foo
7
Prelude> :print foo
foo = (3,7)
: . GHC , , , . " ", " ".