Re: [racket-users] Question regarding the function printBoard board

2019-04-24 Thread orenpa11
Thanks On Tuesday, April 23, 2019 at 10:12:00 PM UTC+3, Stefan Schmiedl wrote: > > > "orenpa11" >, 23.04.2019, 20:53: > > > Hi > > I am using the functionprintBoard board (DrRacket Pretty Big) > > > > (printBoard '((0 0 2 0) (0 0 0 0) (0 0 8 0) (0 0 0 0))) > > and the result is > >

Re: [racket-users] Question regarding the function printBoard board

2019-04-23 Thread Stefan Schmiedl
"orenpa11" , 23.04.2019, 20:53: > Hi > I am using the functionprintBoard board (DrRacket Pretty Big) > > (printBoard '((0 0 2 0) (0 0 0 0) (0 0 8 0) (0 0 0 0))) > and the result is > > (0 0 2 0) > (0 0 0 0) > (0 0 8 0) > (0 0 0 0) > "" No, it is not. The *print output* is (0 0 2 0)

Re: [racket-users] Question regarding the function printBoard board

2019-04-23 Thread orenpa11
Thanks On Tuesday, April 23, 2019 at 9:59:35 PM UTC+3, Dexter Lagan wrote: > > Hi there! > > You can suppress à function’s output with (void (func ...)) like so: > > (void (printBoard '((0 0 2 0) (0 0 0 0) (0 0 8 0) (0 0 0 0 > > Or you can modify your original function and replace the “”

Re: [racket-users] Question regarding the function printBoard board

2019-04-23 Thread Dexter Lagan
Hi there! You can suppress à function’s output with (void (func ...)) like so: (void (printBoard '((0 0 2 0) (0 0 0 0) (0 0 8 0) (0 0 0 0 Or you can modify your original function and replace the “” by (void) like so: ... (cond ((empty? board) (void) ) ... Dexter > On Apr 23, 2019, at

[racket-users] Question regarding the function printBoard board

2019-04-23 Thread orenpa11
Hi I am using the functionprintBoard board (DrRacket Pretty Big) (printBoard '((0 0 2 0) (0 0 0 0) (0 0 8 0) (0 0 0 0))) and the result is (0 0 2 0) (0 0 0 0) (0 0 8 0) (0 0 0 0) "" How do I delete the "" ? I would like the output to be (0 0 2 0) (0 0 0 0) (0 0 8 0) (0 0 0 0)