Idris 2 中的隐式转换?

Implicit conversions in Idris 2?

隐式转换在 Idris 2 中是否仍然可用?这个 Idris 1 代码

data Foo : Type -> Type where
  MkFoo : t -> Foo t

public export implicit
IntFoo : Int -> Foo Int
IntFoo = MkFoo

现在无法使用

在 Idris 2 中编译
Error: Parse error at line 95:1:
Couldn't parse declaration (next
tokens: [public, export, implicit, identifier IntFoo, symbol :, identifier Int, symbol ->, identifier Foo, identifier Int, identifier IntFoo])

移动 implicit 没有修复它,如果我删除 implicit.

它编译正常

顺便说一句,我查看了从 1 更新到 2 的文档,但看不到任何相关信息。如果你知道去哪里找,link 也不错。

Idris 2 不支持隐式转换。I believe their exclusion is deliberate