您如何使用简单类型化 lambda 演算中的规则为此编写类型参考?

问题描述

我必须给出这个特定语句的类型推导

• ` λf : unit → (unit × unit).fst (f ()) : (unit → (unit × unit)) → unit.

我对此非常陌生,不明白为什么它最终会导致单位。 不应该是

unit -> unit x unit -> unit -> unit x unit.

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)