Zulip Chat Archive

Stream: new members

Topic: See result without moving cursor to `#eval`


Iocta (Feb 21 2025 at 19:47):

#eval [1, 2, 3, 4, 6, 8, 9, 10, 15] |>
  map (fun x => 10 * x) |>
  map (fun x => x + 1) |>
  map (fun x => x - 1)

In VSCode, each time I add a line to the end of this pipeline, I have to move my cursor up to #eval at the top in order to see the result. Is there a macro I can use to can see the result with my cursor at the bottom, so I don't have to keep jumping back and forth?

Eric Wieser (Feb 21 2025 at 20:58):

You can expand the "all messages" window in the infoview

Sebastian Ullrich (Feb 21 2025 at 21:16):

It should be feasible to do the right thing by default here as well, do consider opening an issue in lean4

llllvvuu (Feb 27 2025 at 01:47):

It looks fine to me:

Screenshot 2025-02-26 at 5.46.25 PM.png

Wang Jingting (Feb 28 2025 at 06:27):

try the "error lens" extension on VS code! The result looks something like @llllvvuu 's screenshot.


Last updated: May 02 2025 at 03:31 UTC