最近,我在Elm中开发了一个API,其中一个主要类型是反向变体。因此,我在谷歌上搜索了一下,看看如何处理反变体类型,并发现了。它的定义如下: divide :: (a -> (b, c)) -> f b -> f c -> f aconquer :: f a
事实证明,我的特定类型确实适合可除类型</em
class MyClass **private** delegate void MyDelegate(); //error: MyDelegate is less accessible than property Del public MyDelegate Del get { return this.del; } }更改为公共修复,但我想知道更详细的原因。