We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2127db7 commit 32e3776Copy full SHA for 32e3776
hs-src/Language/Scheme/Environments.hs
@@ -25,8 +25,7 @@ import Control.Monad.Error
25
import qualified Data.Char
26
import System.IO
27
28
-{- I/O primitives
29
-Primitive functions that execute within the IO monad -}
+-- |Primitive functions that execute within the IO monad
30
ioPrimitives :: [(String, [LispVal] -> IOThrowsError LispVal)]
31
ioPrimitives = [("open-input-file", makePort openFile ReadMode),
32
("open-binary-input-file", makePort openBinaryFile ReadMode),
@@ -162,7 +161,7 @@ exportsFromEnv' [LispEnv env] = do
162
161
return $ List result
163
exportsFromEnv' err = return $ List []
164
165
-{- "Pure" primitive functions -}
+-- | Pure primitive functions
166
primitives :: [(String, [LispVal] -> ThrowsError LispVal)]
167
primitives = [("+", numAdd),
168
("-", numSub),
0 commit comments