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

I don't know if it's still true in the recent versions of Scala (stopped caring in 2018) but it used to have implicit parameters designed specifically for passing context like this.

A notable example was passing around an implicit ExecutionContext for thread pools, e.g. in Akka :)



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: