Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Python-like F# version:

    String.Join("\n", Array.of_seq (seq {for foo in mylist do if foo.Description <> "" then yield foo.Description}))
(String.Join should have an overload for string IEnumerables / seqs and not just accept string arrays.)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: