newbie question: flat_length example

jim min <>
Wed Jun 14 17:55:38 CEST 2006




>From: Vance Shipley <>
>To: Quan Ta <>
>CC: 
>Subject: Re: newbie question: flat_length example
>Date: Fri, 9 Jun 2006 21:29:33 -0400
>
>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