Skip to content
#

functional-programming

Here are 4,841 public repositories matching this topic...

danbernier
danbernier commented Jan 1, 2017

Thank you for putting this together! I've been studying functional programming on and off for years, and this has reinforced some of the concepts I've learned, clarified others, and taught me new ones. Very nice work.

As I was reading, I came across two notation idioms that confused me, that I'm pretty sure have nothing to do with FP:

  • The symbol ≍ (which is a black box on my Android, fwiw).
jvanbruegge
jvanbruegge commented Oct 17, 2018

As explained at CycleConf I will work (hopefully with the help of others) on the docs. It will be more a very long tutorial, like a book, starting simple, ending at #705

Planned chapters:

  • Getting started (setting up a project)
  • Streams
  • First component
    • Rendering static content
    • Handling events
    • Having local state
    • Making our input controlled
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 该如何变化
     
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)?

fp-ts
arrow
zbeckman
zbeckman commented Sep 10, 2015

It would be fantastic to have improved documentation, probably some more introductory information for the non-functionalist, and possibly a Playground. (Sound familiar?)

Approaching Swiftz from a purely Swift (/ Objective C) background, a lot of this will seem pretty incomprehensible. Approaching it from a Scala background makes it much easier, but there are significant syntax differences and fea

nix
Samrose-Ahmed
Samrose-Ahmed commented Mar 9, 2020

Really nice project.

Writing in coconut files, you lose all the IDE integrations for Python. For example, I use VSCode and all the intellicode and hints of course doesn't work for cocount.

I am not too familiar but perhaps theres needs to be a separate language server or maybe you could leverage the existing Python integrations. Either way, better IDE integration wo

tommythorn
tommythorn commented Feb 11, 2017

I was excited to see the introduction to modern Haskell as I find that it's very confusing to enter Haskell these days as many or most introductions doesn't actually match current practices (Text vs. String, cabal vs. plain GHC, etc). However, I was bewildered when the Cabal & Stack section didn't mention Stack. Is this merely waiting for someone to write it? At the very least, we should be

radeklat
radeklat commented Mar 23, 2020
from funcy import get_in

get_in({}, "key")  # example 1
get_in([], "key")  # example 2

In the code sample above, example 1 returns the default value because the path doesn't exist. However, example 2 fails with:

.../site-packages/funcy/colls.py in get_in(coll, path, default)
    271     for key in path:
    272         try:
--> 273             coll = coll[key]
  
zio
iravid
iravid commented Apr 30, 2020

ZTransducer is an effectful chunk processing function, and thus forms an arrow. We should add the following combinators on it:

  • zipping: (ZTransducer[A, B], ZTransducer[A, C]) => ZTransducer[A, (B, C)]
  • racing: (ZTransducer[A, B], ZTransducer[A, C]) => ZTransducer[A, Either[B, C]] looks problematic to implement currently
  • both: `(ZTransducer[A, C], ZTransducer[B, D]) => ZTr
NinoFloris
NinoFloris commented Apr 16, 2020

C# has the possibility to mark types and members as readonly on structs to signal to roslyn no defensive copies have to be performed. F# with its immutable by default semantics should take advantage of this to gain end users some automatic perf improvements.

Relevant language feature docs:
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/struct#readonly-struct

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

You can’t perform that action at this time.