When does the relaxed value restriction kick in in OCaml?

前端 未结 4 585
庸人自扰
庸人自扰 2020-12-19 02:51

Can someone give a concise description of when the relaxed value restriction kicks in? I\'ve had trouble finding a concise and clear description of the rules. There\'s Garr

4条回答
  •  甜味超标
    2020-12-19 03:29

    Although I'm not very familiar with this theory, I have asked a question about it.
    gasche provided me with a concise explanation. The example is just a part of OCaml's map module. Check it out!
    Maybe he will be able to provide you with a better answer. @gasche

提交回复
热议问题