dmadisetti
Joined 7 years ago
Joined 7 years ago
marimo doesn't support creatine :)
...
with app.setup:
import numpy as np
@app.cell
def cell_uses_np():
# no np needed in signature
result = np....
The best part about this pattern is that it enables "pure" (only dependent on setup cell) functions to be addressable: with app.setup:
from typing import Optional, Any
@app.function
def my_fn(arg: Optional[Any]) -> Any:
...
but nice convergent design :) glad to see to see we're addressing pain points> The discipline of keeping cells in order may be painful, but it’s what makes the flow of analysis understandable to others.
We might have to agree to disagree here, you can still chose to have your notebook in order and something you can be disciplined about. The difference is that a marimo notebook can't become unreproducible the same way a jupyter notebook can, _because_ the order doesn't matter.
But thanks for the feedback!
So funny story- you can use exactly the same CLI tools in your notebook. Zed built out the ACP spec [1] which lets Claude Code go anywhere that implements it (as of Oct 2nd; emacs, vim, zed and marimo [2])
[1]: https://github.com/agentclientprotocol/agent-client-protocol
```python
@app.cell
def my_cell():
x : int = 1
return (x,)
@app.cell
def consumer(x : int):
y = x
return
```
We've talked about building out implicit typing into our serialization- but that may be a larger can of worms.Not sure how we missed that in testing. But it should be good to go now
Our thoughts are the same as gists- Molab is built to share your work and give you a place to tinker. Please don't put your api keys in there