title: Why am I getting parse error on input "{"
body: <p>I am trying to run the very first example in this tutorial:</p>
  <p><a href="https://www.tweag.io/blog/2017-09-15-inline-java-tutorial/" rel="nofollow noreferrer">Call JVM Methods from Haskell</a></p>
  <pre><code>module Main where
  
  {-# LANGUAGE QuasiQuotes #-}
  {-# OPTIONS_GHC -fplugin=Language.Java.Inline.Plugin #-}
  import Language.Java (withJVM)
  import Language.Java.Inline
  
  main :: IO ()
  main = withJVM [] [java| { System.out.println(&quot;Hello Java!&quot;); } |]
  </code></pre>
  <p>and I get this error:</p>
  <pre><code>app\Main.hs:8:26: error: parse error on input `{'
    |
  8 | main = withJVM [] [java| { System.out.println(&quot;Hello Java!&quot;); } |]
    |                          ^
  
  </code></pre>
  <p>What am I doing wrong?</p>