Disagree hd and tl have different types 

Forum: U Chicago, Com Sci 221, autumn 2000
Re: News Final exam Monday 4 December (Mike O'Donnell)
Re: None ML Pattern Matching Review (Oliver Rothschild)
Re: Warning lists? (dave jones)
Date: 2000, Dec 02
From: Mike O'Donnell <odonnell@cs.uchicago.edu>

I found that 'cond' doesn't like it when you use x=hd and y=tl on some list z for this definition.
You're off track here. Look at the types of hd and tl. One of them returns an object in a list, and the other returns a list. So you're just seeing a type error. The action with cond is elsewhere.



Mike O'D.


to: "hd and tl have different types"