Limitations of let rec in OCaml

前端 未结 3 908
攒了一身酷
攒了一身酷 2021-02-19 22:10

I\'m studying OCaml these days and came across this:

OCaml has limits on what it can put on the righthand side of a let rec. Like this one

let memo_rec f         


        
3条回答
  •  萌比男神i
    2021-02-19 22:41

    This is clearly explained in section of Memoization and Dynamic Programming in https://realworldocaml.org/v1/en/html/imperative-programming-1.html

提交回复
热议问题