Can Haskell functions be serialized?

后端 未结 5 1271
说谎
说谎 2020-12-15 17:03

The best way to do it would be to get the representation of the function (if it can be recovered somehow). Binary serialization is preferred for efficiency reasons.

5条回答
  •  一个人的身影
    2020-12-15 17:37

    Check out Cloud Haskell. It has a concept called Closure which is used to send code to be executed on remote nodes in a type safe manner.

提交回复
热议问题