Function Arguments Are Not Function Colors
Posted by ingve 3 hours ago
Comments
Comment by skavi 1 hour ago
This doesn't feel like a useful distinction, but i don't think "function coloring" in general is a useful framework.
Comment by legobmw99 1 hour ago
Comment by hoppp 2 hours ago
I don't know about what would constitute as colored function in go as I generally don't consider arguments to be function colors.
Maybe methods in go would be different colored functions when they are defined on different struct types.
Comment by jerf 1 hour ago
Comment by kelseyfrog 1 hour ago
I'd venture to guess that there's a more abstract way of formalizing this in the sense that monad instances are required to be threaded through the callstack in particular cases(would love to see this spelled out formally) where IO and Cont(?) have this requirement but State like the author points out, does not.
Comment by jerf 1 hour ago
Comment by kibwen 1 hour ago
Comment by dnautics 30 minutes ago