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

> Feels like comparing Lists with functions, or promises with interfaces

Functions and lists are technically isomorphic, you just replace the function with a list of (domain, codomain) pairs and function invocation then becomes list lookup. This is basically the set theory definition of a function. So yes, this comparison to the article is apt, the article is saying that you can encode effects via coroutines.



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

Search: