-

   rss_forum_sources_ru

 - e-mail

 

 -

 LiveInternet.ru:
: 29.07.2007
:
:
: 80

:


, 26 2021 . 00:57 +
korvin:
applegame @
, - opaque .

.

applegame @

?

applegame @
.

WUT?

applegame @
,

, ? ? .

applegame @
, , Haskell .

? Calling conventions .

applegame @
do- - ,

, , .

applegame @

, .

applegame @
do-, , .

.

, -, :

    do
    a <- foo x
    b <- bar y
    return $ gee a b

?

applegame @
Promise , foo- bar.

, ? , ? - , ? , ?

applegame @
, .
, , -.

?

: ? ,
    a = foo(x)
    b = bar(y)
    gee(a, b)

foo bar:
    b = bar(y)
    a = foo(x)
    gee(a, b)

?


: ?

    foo x = x + x
    bar x = (x, x)


    foo . bar


    bar . foo

?

:
    foo x = x + 1
    bar x = x * 2
    foo . bar
    bar . foo

?

https://forum.sources.ru/index.php?showtopic=421266&view=findpost&p=3846812

:  

: [1] []
 

:
: 

: ( )

:

  URL