Template Haskell: Is there a function (or special syntax) that parses a String and returns Q Exp?
问题 I am trying to learn a bit of Template Haskell and Quasi Quotation, and I am looking for a function that takes a String and parses it to Q Exp , so the type is: String -> Q Exp Tried searching hoogle, but the results I saw had to do with lifting String literals to Q Exp , and the closest I found was Language.Haskell.TH.dyn which does quite what I want, but only for a single variable. Are there other options? E.g. a special syntax? I'm just in the process of familiarizing myself with [||] and