How do you work with IList<> in F#?

Posted by kim3er on Stack Overflow See other posts from Stack Overflow or by kim3er
Published on 2010-04-03T15:19:32Z Indexed on 2010/04/03 15:23 UTC
Read the original article Hit count: 266

Filed under:
|
|

I have a list of type IList<Effort>. The model Effort contains a float called Amount. I would like to return the sum of Amount for the whole list, in F#. How would this be achieved?

© Stack Overflow or respective owner

Related posts about F#

Related posts about ilist