[Haskell-cafe] Code Review Request - Unbalanced Parenthesis correction

Michael Orlitzky michael at orlitzky.com
Tue Mar 21 17:23:30 UTC 2017


On 03/21/2017 01:16 PM, David McBride wrote:
> Whether your algorithm is correct depends on how you are supposed to
> rebalance them.  My naive attempt gives very different results.
>

You guys are trying to hard. Here's an algorithm that meets the stated 
requirements:

   balance _ = ""




More information about the Haskell-Cafe mailing list