It looks like the quasi quoter syntax has changed to now accept 4 arguments [ link ]. Has anyone used it yet? Thanks. I just want to build something really really simple, and the examples on the web won’t work now.
Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Each piece of the
QuasiQuoteris just a function that takes a string (the content of the quasi-quote) and returns an appropriate value in theQmonad. If your quasiquoter doesn’t support being used in some of those contexts, just return an error, e.g.:The
failmethod callsreport True, which produces a compiler error. This is pretty much the correct behavior.