Re: [racket-users] Plot Problem: No Line; Bounds not found

2021-06-16 Thread Alex Harsányi
On Wednesday, June 16, 2021 at 3:19:06 AM UTC+8 Ben Greenman wrote: > On 6/15/21, Britt Anderson wrote: > > Thanks for the help to my specific problem. More generally, what should > > have clued me in to a contract or type error when the only message > received > > had to do with y plot

Re: [racket-users] Plot Problem: No Line; Bounds not found

2021-06-15 Thread Robby Findler
While I completely agree that testing one's function is the best practical advice here, it also seems worth an improvement to plot. Perhaps, in addition to saying "could not determine sensible plot bounds", it could also say something like "because there were no points" and perhaps even follow up

Re: [racket-users] Plot Problem: No Line; Bounds not found

2021-06-15 Thread Ben Greenman
On 6/15/21, Britt Anderson wrote: > Thanks for the help to my specific problem. More generally, what should > have clued me in to a contract or type error when the only message received > had to do with y plot bounds? Just looking for practical advice to help me > figure out things on my own

Re: [racket-users] Plot Problem: No Line; Bounds not found

2021-06-15 Thread Britt Anderson
Thanks for the help to my specific problem. More generally, what should have clued me in to a contract or type error when the only message received had to do with y plot bounds? Just looking for practical advice to help me figure out things on my own going forward. On Tuesday, June 15, 2021

Re: [racket-users] Plot Problem: No Line; Bounds not found

2021-06-15 Thread Ben Greenman
On 6/15/21, Britt Anderson wrote: > > I was starting to explore plot and I am getting a behavior I do not > understand. plot doesn't seem to be able to figure out the bounds for > something that seems pretty straight-forward. When I give bounds as an > optional argument I don't see the line I

[racket-users] Plot Problem: No Line; Bounds not found

2021-06-15 Thread Britt Anderson
I was starting to explore plot and I am getting a behavior I do not understand. plot doesn't seem to be able to figure out the bounds for something that seems pretty straight-forward. When I give bounds as an optional argument I don't see the line I expect to see. Can anyone provide me some