Re: [racket-users] Problem displaying a struct returned by a function in a cond statement

2016-10-26 Thread Ken MacKenzie
After you said that I looked at the final return in findsense and it read as such (returnsense)) I changed it to returnsense) And all is well. Thank you! On Wed, Oct 26, 2016 at 1:34 PM, Ben Greenman wrote: > Can you show us findSense? > > The error message is

Re: [racket-users] Problem displaying a struct returned by a function in a cond statement

2016-10-26 Thread Ben Greenman
Can you show us findSense? The error message is saying there's an extra pair of parentheses somewhere, for example: > (1) > (define-struct foo () #:transparent) > ((foo)) On Wed, Oct 26, 2016 at 1:16 PM, Ken MacKenzie wrote: > New to racket and playing with a little

[racket-users] Problem displaying a struct returned by a function in a cond statement

2016-10-26 Thread Ken MacKenzie
New to racket and playing with a little something. Here is my code: #lang racket/base