Skip to content
#

functional-programming

Here are 6,881 public repositories matching this topic...

a616781689
a616781689 commented Nov 28, 2019

看了fish-redux的todoList demo,发现里面连接全局状态的方法是使用visitor

visitor: (String path, Page<Object, dynamic> page) {
      /// 只有特定的范围的 Page 才需要建立和 AppStore 的连接关系
      /// 满足 Page<T> ,T 是 GlobalBaseState 的子类
      if (page.isTypeof<GlobalBaseState>()) {
        /// 建立 AppStore 驱动 PageStore 的单向数据连接
        /// 1. 参数1 AppStore
        /// 2. 参数2 当 AppStore.state 变化时, PageStore.state 该如何变化
     
enhancement good first issue
NeQuissimus
NeQuissimus commented Jan 7, 2019

I just came across the fact that a Show[Throwable] exists.

  1. It is not wired up into import Scalaz._, one needs to import scalaz.std.java.throwable._
  2. It discards the stack trace entirely.

What's going on with this? :D
Is it OK if I fix both of these (for 7.2 and 7.3)?

fsharp
auduchinok
auduchinok commented Jul 8, 2022

Consider this F# code:

type I =
    abstract M: param: outref<int> -> unit

type T() =
    interface I with
        member this.M(param) = failwith "todo"

The param parameter is compiled as out parameter:

[CompilationMapping(SourceConstructFlags.ObjectType)]
[Serializable]
public interface I1
{
  void M(out int param);
}

[CompilationMapping(So

Improve this page

Add a description, image, and links to the functional-programming topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the functional-programming topic, visit your repo's landing page and select "manage topics."

Learn more