Why a function defined in let can be used outside of the function?

前端 未结 0 1594
滥情空心
滥情空心 2020-12-25 15:40

Here is the code from book 《compiling with continuations》,page 16(I rewrite it f#):

let (x,y)=let g(a,b:int,c)=a+c
         in (g,g(1,2,3))

s

相关标签:
回答
  • 消灭零回复
提交回复
热议问题