duke writes:
> [quote]
> In Miranda, all operators (except for ++ -- ˆ and :, as will be seen
> in Chapter 3) associate to the left.[/quote]
> Then 2 examples are given! I get this first one:
> (4.0 / 5.0 * 6.0) is interpreted as ((4.0 / 5.0) * 6.0)
> \_first_/
> This one I don't get
> (4.0 / 5.0 / 6.0 / 7.0) is interpreted as ((4.0 / 5.0) / 6.0) / 7.0)
> Should there not be another parenthesis at the beginning? Like:
> (((4.0 / 5.0) / 6.0) / 7.0)
> to make sense of Miranda's interpretation?
Yes. An obvious typo.