You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -3406,7 +3409,7 @@ Additionally, if you are using [view patterns](#match), you might need to raise
3406
3409
3407
3410
In some cases where there are multiple Coconut packages installed at the same time, there may be multiple `MatchError`s defined in different packages. Coconut can perform some magic under the hood to make sure that all these `MatchError`s will seamlessly interoperate, but only if all such packages are compiled in [`--package` mode rather than `--standalone` mode](#compilation-modes).
3408
3411
3409
-
### `CoconutWarning`
3412
+
####`CoconutWarning`
3410
3413
3411
3414
`CoconutWarning` is the [`Warning`](https://docs.python.org/3/library/exceptions.html#Warning) subclass used for all runtime Coconut warnings; see [`warnings`](https://docs.python.org/3/library/warnings.html).
3412
3415
@@ -3464,13 +3467,13 @@ In Haskell, `fmap(func, obj)` takes a data type `obj` and returns a new data typ
3464
3467
3465
3468
For `dict`, or any other `collections.abc.Mapping`, `fmap` will map over the mapping's `.items()` instead of the default iteration through its `.keys()`, with the new mapping reconstructed from the mapped over items. _Deprecated: `fmap$(starmap_over_mappings=True)` will `starmap` over the `.items()` instead of `map` over them._
3466
3469
3467
-
For asynchronous iterables, `fmap`will map asynchronously, making `fmap`equivalent in that case to
3470
+
For asynchronous iterables, `fmap`is equivalent to
such that `fmap` can effectively be used as an async map.
3476
+
which allows mapping a synchronous function over an asynchronous iterable. To map an asynchronous function over a synchronous iterable, see [`async_map`](#async_map).
3474
3477
3475
3478
Some objects from external libraries are also given special support:
3476
3479
* For [`numpy`](#numpy-integration) objects, `fmap` will use [`np.vectorize`](https://docs.scipy.org/doc/numpy/reference/generated/numpy.vectorize.html) to produce the result.
0 commit comments