diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2017-06-03 12:28:52 +0200 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2017-06-03 13:35:19 +0200 |
commit | 55d679e382954dd458acd6233609851748522d99 (patch) | |
tree | 4ed5996a1fed938b85c27e7b3671da6e52491c3e /src/Text/Pandoc/Lua/Compat.hs | |
parent | d55f01c65f0a149b0951d4350293622385cceae9 (diff) | |
download | pandoc-55d679e382954dd458acd6233609851748522d99.tar.gz |
Improve code style in lua and org modules
Diffstat (limited to 'src/Text/Pandoc/Lua/Compat.hs')
-rw-r--r-- | src/Text/Pandoc/Lua/Compat.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Lua/Compat.hs b/src/Text/Pandoc/Lua/Compat.hs index 998d8d032..3fc81a15c 100644 --- a/src/Text/Pandoc/Lua/Compat.hs +++ b/src/Text/Pandoc/Lua/Compat.hs @@ -28,13 +28,13 @@ Compatibility helpers for hslua -} module Text.Pandoc.Lua.Compat ( loadstring ) where -import Scripting.Lua ( LuaState ) +import Scripting.Lua (LuaState) import qualified Scripting.Lua as Lua -- | Interpret string as lua code and load into the lua environment. loadstring :: LuaState -> String -> String -> IO Int #if MIN_VERSION_hslua(0,5,0) -loadstring lua script _ = Lua.loadstring lua script +loadstring lua script _ = Lua.loadstring lua script #else loadstring lua script cn = Lua.loadstring lua script cn #endif |