Hacker News new | ask | show | jobs
by wyager 3498 days ago
No, but this shouldn't be taken as an indictment of FP general. I prefer

    persons = filter isValid (map init names)
to both. Swift just isn't really a functional language in any useful sense.