newbie question: flat_length example

Vance Shipley vances@REDACTED
Sat Jun 10 03:29:33 CEST 2006


On Fri, Jun 09, 2006 at 08:10:23PM -0500, Quan Ta wrote:
}  
}  flat_length([H,T], N) when list(H) ->
                 ^
                 |
should be |  ----+

}  why is the result 3?  should it be 4?
}  
}  -- Quan



More information about the erlang-questions mailing list