Commit 63c47a07 authored by Massimo Costantini's avatar Massimo Costantini
Browse files

Updated comment

parent 9b6d7662
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -20,13 +20,12 @@ In this model, all effectful computations are represented as higher-order functi

**JavaScript version:**
```js
// @returns {function(IO): Promise<T>}
(req) => async (IO) => Promise<T>
(req: Req) => (IO: Symbol) => Promise<T>
```

**Python version:**
```python
def handler(req) -> Callable[[IO], Awaitable[T]]
def handler(req: Req) -> Callable[[IO], Awaitable[T]]
```

In these examples: