Hi, developers of llvm-hs-quote.
This is a proposal of $args: to write arguments easily in call instruction.
Proposal
mymodule :: [(Operand, [PA.ParameterAttribute])] -> AST.Module
mymodule arguments = [Quote.LLVM.llmod|
; ModuleID = 'simple module'
define i32 @f(){
call void @myfunc($args:arguments)
ret i32 0
}
|]