plugins 1.6.2 → 1.6.2.1
raw patch · 6 files changed
+8/−8 lines, 6 files
Files
- plugins.cabal +1/−1
- src/System/Eval/Haskell.hs +2/−2
- src/System/Plugins/Env.hs +1/−1
- src/System/Plugins/Load.hs +1/−1
- src/System/Plugins/Make.hs +1/−1
- src/System/Plugins/Utils.hs +2/−2
plugins.cabal view
@@ -1,5 +1,5 @@ name: plugins-version: 1.6.2+version: 1.6.2.1 homepage: https://github.com/stepcut/plugins synopsis: Dynamic linking for Haskell and C objects description: Dynamic linking and runtime evaluation of Haskell,
src/System/Eval/Haskell.hs view
@@ -254,7 +254,7 @@ x = ident () -- what is this big variable name?--- its a random value, so that it won't clash if the accidently mistype+-- its a random value, so that it won't clash if the accidentally mistype -- an unbound 'x' or 'v' in their code.. it won't reveal the internal -- structure of the wrapper, which is annoying in irc use by lambdabot @@ -267,7 +267,7 @@ -- ----- return NULL pointer if an error occured.+-- return NULL pointer if an error occurred. -- foreign export ccall hs_eval_b :: CString -> IO (Ptr CInt)
src/System/Plugins/Env.hs view
@@ -190,7 +190,7 @@ -- -- our environment, contains a set of loaded objects, and a map of known--- packages and their informations. Initially all we know is the default+-- packages and their information. Initially all we know is the default -- package.conf information. -- env = unsafePerformIO $ do
src/System/Plugins/Load.hs view
@@ -260,7 +260,7 @@ -- -- Use GHC at runtime so we get staged type inference, providing full -- power dynamics, *on module interfaces only*. This is quite suitable--- for plugins, of coures :)+-- for plugins, of course :) -- -- TODO where does the .hc file go in the call to build() ? --
src/System/Plugins/Make.hs view
@@ -113,7 +113,7 @@ -- -- | Merging may be avoided if the source files are older than an -- existing merged result. The @MergeCode@ type indicates whether--- merging was performed, or whether it was unneccessary.+-- merging was performed, or whether it was unnecessary. -- type MergeCode = MakeCode
src/System/Plugins/Utils.hs view
@@ -426,7 +426,7 @@ -- -- This code checks if "-o foo" or "-odir foodir" are supplied as args -- to make(), and if so returns a modified file path, otherwise it--- uses the source file to determing the path to where the object and+-- uses the source file to determine the path to where the object and -- .hi file will be put. -- outFilePath :: FilePath -> [Arg] -> (FilePath,FilePath)@@ -470,7 +470,7 @@ -- fileExist still seems to throw exceptions on some platforms: ia64 in -- particular. ----- invarient : we already assume the first file, 'a', exists+-- invariant : we already assume the first file, 'a', exists -- newer :: FilePath -> FilePath -> IO Bool newer a b = do