> ERROR "c:\1.hs":69 - Syntax error in expression (unexpected `<-') Line 69: > sortName (wn:ws)=sortName [(w,wc) (w,wc) <- ws,not (isGreater (w,wc) wc)] > ++[wn]++sortName[(w,wc)|(w,wc)<-ws, isGreater (w,wc) wn] The first list comprehension expression [ (w,wc) (w,wc) <- ... ] is missing a vertical bar, i.e. [ (w,wc) | (w,wc) <- ... ] Regards, Malcolm