Skip to content
#

functional-programming

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

lila
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
vzarytovskii
vzarytovskii commented Aug 27, 2021

Consider the following F# code

open System

[<Obsolete("Foo", true)>]
type Foo() =
    member _.Bar() = ()

let foo = Foo()
foo.Bar()

It compiles just fine, regardless the ObsoleteAttribute on the type. It won't produce a diagnostic even if we call to foo.Bar() [[SharpLab](https://sharplab.io/#v2:DYLgZgzgNALiBOBXAdgHwPYAcCmyAEAygJ4QzYC2AsAFA0DaAPAPIBGE6w2ZAFAEQBi6d

Bug good first issue Impact-Low Area-Compiler-Checking

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