2 ms·
I can think of a few other potential use cases in Go. Some ideas: - Promises - Mutexes like Rust's Mutex<T> (would be much nicer than sync.Mutex) - swap func
by jasonhansel 6y ago
I can think of a few other potential use cases in Go. Some ideas:
- Promises
- Mutexes like Rust's Mutex<T> (would be much nicer than sync.Mutex)
- swap functions, like swap(pointer to T, pointer to T)
- combinators and other higher-order functions
- deleted 6y ago[deleted]