|
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: