More parentheses when printing values
authorArseniy Alekseyev <rotsor@gmail.com>
Wed, 26 Apr 2017 22:14:31 +0000 (23:14 +0100)
committerArseniy Alekseyev <rotsor@gmail.com>
Wed, 26 Apr 2017 23:10:48 +0000 (00:10 +0100)
commit6ad96ba4d2a2049c993f473f0f5047f248ac701d
treee4044fe9b072fece6a95da9b5808b02046f8bd95
parent9ae218e0beefd3cc2c617cf6b66ac9faba1a8af7
More parentheses when printing values

Fixes a bug where not enough parentheses would be printed.
Previously if a function F is defined by split, `F (F x)` would be printed as `F F x`.
Now it's printed as `F (F x)` as it should.
CTT.hs