EECS 662

Programming Languages

Index
Blog

If or If0

If you look carefully at the project description and the utilities file for Project 3 you’ll notice the description uses the constructor if0 for if expressions while the utilities file uses if. It makes no difference which constructor you use. If you want to, you can change the utilities file to use If0 to be consistent with the book.

I’m hesitant to push out a change until the project is done because I don’t want to accidentally mess anyone up. You can use the utilities file as is or change the constructor name and everything will work fine regardless.