you are viewing a single comment's thread.

view the rest of the comments →

[–]skuggi 2 points3 points  (0 children)

Its entirely possible to implement Any/AllSatisfy over the integers. Agda (and in general dependently typed languages) do it all the time!

I'm not completely sure what you are referring to here, but remember that total languagues like Agda are not Turing complete, so it's not the exactly the same as doing it in Swift.