Skip to content

Commit 347e18f

Browse files
committed
Fixed compilation issues in FFI.hs
1 parent b12b72d commit 347e18f

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

ChangeLog.markdown

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
v3.19.3
2+
--------
3+
4+
Big Fixes:
5+
6+
- Fixed compilation errors in `FFI.hs`.
7+
18
v3.19.2
29
--------
310

hs-src/Language/Scheme/FFI.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ evalfuncLoadFFI :: [LispVal] -> IOThrowsError LispVal
3838
- TODO: pass a list of functions to import. Need to make sure this is done in an efficient way
3939
- (IE, result as a list that can be processed)
4040
-}
41-
evalfuncLoadFFI [(Continuation env _ _ _), String targetSrcFile,
41+
evalfuncLoadFFI [(Continuation env _ _ _ _), String targetSrcFile,
4242
String moduleName,
4343
String externalFuncName,
4444
String internalFuncName] = do
@@ -83,7 +83,7 @@ FUTURE: should be able to load multiple functions in one shot (?). -}
8383
defineVar env internalFuncName (IOFunc result) -- >>= continueEval env cont
8484

8585
-- Overload that loads code from a compiled module
86-
evalfuncLoadFFI [(Continuation env _ _ _), String moduleName, String externalFuncName, String internalFuncName] = do
86+
evalfuncLoadFFI [(Continuation env _ _ _ _), String moduleName, String externalFuncName, String internalFuncName] = do
8787
result <- liftIO $ defaultRunGhc $ do
8888
dynflags <- GHC.getSessionDynFlags
8989
_ <- GHC.setSessionDynFlags dynflags

husk-scheme.cabal

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Name: husk-scheme
2-
Version: 3.19.2
2+
Version: 3.19.3
33
Synopsis: R5RS Scheme interpreter, compiler, and library.
44
Description:
55
<<https://github.com/justinethier/husk-scheme/raw/master/docs/husk-scheme.png>>

0 commit comments

Comments
 (0)