Issues with some example expressions
Running the "SVG Chart" example from the side panel results in an error:
> <interactive>:278:1: error: [GHC-58481]
> parse error (possibly incorrect indentation or mismatched brackets)
It looks like the block is being interpreted as an expression, so this can be fixed by inserting `in` to complete the `let` expression, or alternatively by wrapping the entire block in a `do` statement.
It looks like a similar issue might affect other examples such as "Fibonacci", "Map & Filter", and "QuickCheck".
2 条评论