You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`argText` will never add parentheses around its output, which makes sense for
arguments of type constructors: if we're printing `Foo[T1, T2]` we never
need parens around `T1` or `T2`, whatever its root operator.
But that's inappropriate for a function type `T1 => T2`; the code in
`toTextFunction` attempted to use `atPrec(InfixPrec)` to correct for that, but
that didn't work, because `argText` called `atPrec(GlobalPrec)` right away,
hence we ended up running
`atPrec(InfixPrec) { atPrec(GlobalPrec) { ... }}`, which means just
`atPrec(GlobalPrec) { ... }`.
0 commit comments