From: Jesse G. <je...@wi...> - 2004-08-27 14:00:47
|
Alan Post wrote: > In article <cglscs$q72$1...@se...>, Jesse Guardiani wrote: >> >> let length node = >> let rec loop cnt n = >> if n = node then >> cnt >> else >> loop (cnt + 1) n.next >> in >> loop 1 node.next > > Should this be n == node ? Err, yes. I must have missread the purpose of the == operator. I'll change it. Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net |