F# - This code isn't compiled for me

Posted by stacker on Stack Overflow See other posts from Stack Overflow or by stacker
Published on 2010-06-07T02:26:11Z Indexed on 2010/06/07 2:32 UTC
Read the original article Hit count: 211

Filed under:

This code isn't compiled for me: let countDown = [5L .. -1L .. 0L];;

I have a book that says it should return this:
val countDown : int list = [5L; 4L; 3L; 2L; 1L; 0L]

© Stack Overflow or respective owner

Related posts about F#