diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Text/Pandoc/Lua/Marshaling/Attr.hs | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/src/Text/Pandoc/Lua/Marshaling/Attr.hs b/src/Text/Pandoc/Lua/Marshaling/Attr.hs index a38bc6ec7..97e702e35 100644 --- a/src/Text/Pandoc/Lua/Marshaling/Attr.hs +++ b/src/Text/Pandoc/Lua/Marshaling/Attr.hs @@ -42,6 +42,10 @@ typeAttr = deftype "Attr"      <#> parameter peekAttr "a1" "Attr" ""      <#> parameter peekAttr "a2" "Attr" ""      =#> functionResult pushBool "boolean" "whether the two are equal" +  , operation Tostring $ lambda +    ### liftPure show +    <#> parameter peekAttr "Attr" "attr" "" +    =#> functionResult pushString "string" "native Haskell representation"    ]    [ property "identifier" "element identifier"        (pushText, \(ident,_,_) -> ident) | 
