News for hackers. Stuff that matters.
Re:Moving Beyond Type Systems by rebeccaskinner on Friday May 31, 2024 @11:12PM (#40542582)
This was the problem we saw in practice building an effects based system at work. It had a lot of nice properties, and type inference worked better than you might expect, but there was no way around the types with 100+ effects in the type signature, and people really disliked it.

There are some things you can do to make it more ergonomic. One mistake we made was not focusing on ergonomics early on, and that lead to people having some pretty sour experiences. It's something you really have to pay a lot of attention to.

Re:Moving Beyond Type Systems by kristiandupont on Saturday June 01, 2024 @01:52AM (#40543228)
Can you not combine effects into unions and/or intersections resulting in more abstract effects?
Re:Moving Beyond Type Systems by nextaccountic on Saturday June 01, 2024 @03:02AM (#40543537)
In real world languages with effects, like F* or Koka, you can