Re:Upcoming/proposed breaking changes to Haskell
by throwaway81523 on Wednesday November 17, 2021 @09:03PM
(#29261256)
Right, but local inference is also complicated. So the question is how much of it Idris manages to do without manual annotations. It's not even limited to local definitions with names. If you fully annotate "a=b+2" you get something like "a:int = a:int +:(int->int->int) 2:int". The compiler makes an expression tree and every node in the tree has to get an annotation, either from the source text (i.e. manually) or through inference.
I'm more saying that I'm fine with type system features that break global inference, as long as there's still local inference that's usually good enough in practice.