Display name of function for cell defining function

In new Observable, a .ts/.js cell that defines a function is displayed as <empty>. If I wrap the function definition in display(), then I see the signature of the function f (args), but I still don’t see the name of the function. Sometimes it is really nice not to pin a cell (e.g. if the function definition is long) but still show what function is defined there. This would help with notebook usability for educational purposes.

Thanks!
Adam

Yep, agreed! We’re planning on implementing a default inspector for all top-level variables so that you’ll see something like sum = ƒ(a, b) rather than <empty>.