functional-programming
Here are 4,841 public repositories matching this topic...
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).
-
Updated
Mar 10, 2020 - JavaScript
Docs revamp
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
The images are quite nice but sometimes they feel kinda cheap. It would be nice if they could be redrawn with TikZ.
This would give a touch of class to a book that is already beautiful.
Simple solution:
 {
/// 只有特定的范围的 Page 才需要建立和 AppStore 的连接关系
/// 满足 Page<T> ,T 是 GlobalBaseState 的子类
if (page.isTypeof<GlobalBaseState>()) {
/// 建立 AppStore 驱动 PageStore 的单向数据连接
/// 1. 参数1 AppStore
/// 2. 参数2 当 AppStore.state 变化时, PageStore.state 该如何变化
Animated List
-
Updated
Jun 11, 2020 - Java
This stackoverflow post outlines a different method of using namedParameters than the readme and seems to be correct. Readme could be updated to match.
https://stackoverflow.com/questions/6212219/passing-parameters-to-a-bash-function
-
Updated
Jun 10, 2020 - JavaScript
Show[Throwable]
I just came across the fact that a Show[Throwable]
exists.
- It is not wired up into
import Scalaz._
, one needs toimport scalaz.std.java.throwable._
- 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)?
📖 Documentation
In this commit : gcanti/fp-ts@e08a16e all non-technical documentation was removed.
The images and all that non-technical documentation was incredibly valuable and a reference for me to understand better not only the library but FP in general, especially this map: https://github.com/gcanti/fp-ts/blob/2.4.3/docs/type-c
-
Updated
Oct 13, 2019 - CSS
The URL in the repository description uses HTTP, but should use HTTPS.
-
Updated
Jun 10, 2020 - Java
What version are you currently using?
LATEST
What would you like to see?
When you are trying to review the first 2 levels of the Open ladder of functional programming using Kotlin and Arrow, I don´t find many examples in the documentation about the following topics:
- arrow.syntax.function.curried
- arrow.core.and
Could the generated docs be moved to a separate repo? The CI could then commit to that separate repo to keep them updated...
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
The builder of a derivation accepts a few builtin builders as described here:
These should be documented somewhere and how they differ from some builtin functions. From my understanding builtins.fetchurl
fetches during instantiation time but a derivation using builtins:fetchurl
as `buil
add microsite?
-
Updated
Jun 10, 2020 - C#
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
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
Hi,
How do you add integration with SDKs that deliver the result to onActivityResult
method of fragment/activity? For example if you'd like to implement Authentication via Facebook SDK you would:
- Create a CallbackManager
- Register it via
registerCallback()
of [LoginManager](https://develope
Description
When I type this into the REPL:
:set prompt "\ESC[34mλ> \ESC[m"
I get a nice purple lambda prompt.
For ghci, you put that command in ~/.ghci and the REPL will run the commands in that file on
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]
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:looks problematic to implement currently(ZTransducer[A, B], ZTransducer[A, C]) => ZTransducer[A, Either[B, C]]
- both: `(ZTransducer[A, C], ZTransducer[B, D]) => ZTr
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.
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."
When I open any chapter, say ch01:
https://mostly-adequate.gitbooks.io/mostly-adequate-guide/content/ch01.html
Right chevron links to the current chapter header. I'd expect it to link to the next one.
Env:
I haven't used Gitbook, but it might be solvable via GitBook update, also mentioned in #542