Hi, thanks!!
Should we document this approach in the manual somewhere?
If so, where would be a good place to mention how to do this?
> --8<---------------cut here---------------start------------->8---
> #!/usr/bin/env -S guix shell python -- python3
> import numpy as np
> a = np.array([1,2])
> b = np.array([3,4])
> print(f"The dot product of {a} and {b} is: {np.dot(a, b)}")
> --8<---------------cut here---------------end--------------->8---
>
> And to answer your other question about specific revision, I would do:
>
> --8<---------------cut here---------------start------------->8---
> #!/usr/bin/env -S guix time-machine --commit=29efa27 -- shell python --
> python3
> import numpy as np
> a = np.array([1,2])
> b = np.array([3,4])
> print(f"The dot product of {a} and {b} is: {np.dot(a, b)}")
> --8<---------------cut here---------------end--------------->8---
>
> Cheers,
> simon