-
With coroutines we can implement a Haskell-ish do-notation. Call them "doroutines":
```
from pymonad.operators.maybe import Maybe, Just, Nothing
from pymonad.tools import curry
@curry(2)
def …
ckp95 updated
3 weeks ago
-
If you call a method m on its own (as if it were a function), you get a confusing error message saying that is not a function:
```
> m()
Expected a function in the application expression at inte…
-
There should be an operator that curries a function. Perhaps `~:`?
```
let add = ~: (x, y, z) -> x + y * z;
print(add(3)(4)(5)); // 23
```
A memoizing function/operator. E.g.:
```
let fib = memo…
-
lien pour le site de Martin Aubé, guide de l'utilisateur : http://dome.obsand.org/wiki/index.php/Prof/LANcube
-
I see that immutable-ops depends on Ramda. But, inspecting the source, it looks like only two Ramda functions are actually being used: `curry` and `placeholder`.
Would it be possible to replace th…
-
-
**Description**
I want to implement a variadic version of the currying function.
```swift
func curried(
_ originalFunc: @escaping (First, repeat each T) -> Result
) -> (First) -> (repeat …
-
See https://github.com/sanctuary-js/sanctuary/pull/391#issuecomment-300962716.
To resolve the issues in #1497 regarding associative, non-commutative binary "operators" I propose adding three new fu…
-
I have a few different Scenes constructed using their own Timelines and 1 master Timeline taking care of sequencing the different scenes. Every scene may or may not use a `forwardRef` markup as showca…
-
## Problem
The operator is used throughout the documentation, and referred to as "explicit scoping" in [the traps page](https://docs.raku.org/language/traps#Fat_arrow_and_constants). However, it's …