Nuprl Definition : simple-swap2

simple-swap2(AModel;i;j) ==
  A-bind(AModel) (A-fetch(AModel) i) 
  in@i.(A-bind(AModel) (A-fetch(AModel) j) 
          in@j.(A-bind(AModel) (A-assign(AModel) in@j) x.(A-assign(AModel) in@i))))))



Definitions occuring in Statement :  A-fetch: A-fetch(AModel) A-assign: A-assign(AModel) A-bind: A-bind(AModel) apply: a lambda: λx.A[x]
Definitions occuring in definition :  A-fetch: A-fetch(AModel) A-bind: A-bind(AModel) lambda: λx.A[x] apply: a A-assign: A-assign(AModel)
FDL editor aliases :  simple-swap2

Latex:
simple-swap2(AModel;i;j)  ==
    A-bind(AModel)  (A-fetch(AModel)  i) 
    (\mlambda{}in@i.(A-bind(AModel)  (A-fetch(AModel)  j) 
                    (\mlambda{}in@j.(A-bind(AModel)  (A-assign(AModel)  i  in@j)  (\mlambda{}x.(A-assign(AModel)  j  in@i))))))



Date html generated: 2016_05_15-PM-02_20_31
Last ObjectModification: 2015_09_23-AM-07_38_46

Theory : monads


Home Index