Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

last, last2, ... #18

Open
pedritomelenas opened this issue Oct 21, 2017 · 5 comments
Open

last, last2, ... #18

pedritomelenas opened this issue Oct 21, 2017 · 5 comments
Labels
bug: wrong answer A computation returns a (mathematically or otherwise) invalid result bug All bugs should have this label, even if they have a more specific one

Comments

@pedritomelenas
Copy link
Contributor

last returns true, and last2 returns "2 be defined". Probably you commented this already in Siegen.
This is just to have it recorded.
Thanks,
Pedro

@pedritomelenas
Copy link
Contributor Author

pedritomelenas commented Oct 21, 2017

I remember we also talked about the possibility of storing all outputs inputs and be able to refer to them as _n or something. May be in gap lastn would be better.

@markuspf
Copy link
Member

to be clear: do you want the last inputs or the last outputs? last, last2 store the last results (which, tbh, we should do with a list, we just have to call it something other than "last" because of backwards compatibility).

For inputs, jupyter claims to have some history functionality, which I couldn't figure out how to use yet (and the kernel functions for that are currently just stubs).

@pedritomelenas
Copy link
Contributor Author

for me the outputs are fine. The problem is that in my install even last is not working, it always return true... So for instance, if you evaluate 1;, and then last+1; you get an error.

@ZachNewbery ZachNewbery added bug All bugs should have this label, even if they have a more specific one bug: wrong answer A computation returns a (mathematically or otherwise) invalid result labels Jul 18, 2021
@olexandr-konovalov
Copy link
Member

Checked now: after some calculations, last returns true and last2 and last3 returs fail. This is still wrong...

@olexandr-konovalov
Copy link
Member

1.5 Known Limitations and Caveats now mentions this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: wrong answer A computation returns a (mathematically or otherwise) invalid result bug All bugs should have this label, even if they have a more specific one
Projects
None yet
Development

No branches or pull requests

4 participants