Sunday, 31 March 2013
Revisiting Structs
We learned about structs in class awhile back, but recently we had to work with structs in fractal.rkt code. When defining the function of sierpinski I based my definition off the check-expect that was already given in the starter code. It took me awhile and a little frustration until I realized that the struct required me to specify the param-depth and param-base of the function using the placeholder rp.
Saturday, 16 March 2013
Double Checking
After the test, I had to go to my computer and make sure that the definition "rs" did what I thought it did. Hopefully it actually does reverse the string of characters like I initially assumed.
Subscribe to:
Posts (Atom)