Skip to content

Commit 32e3776

Browse files
committed
Added haddock comments
1 parent 2127db7 commit 32e3776

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

hs-src/Language/Scheme/Environments.hs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ import Control.Monad.Error
2525
import qualified Data.Char
2626
import System.IO
2727

28-
{- I/O primitives
29-
Primitive functions that execute within the IO monad -}
28+
-- |Primitive functions that execute within the IO monad
3029
ioPrimitives :: [(String, [LispVal] -> IOThrowsError LispVal)]
3130
ioPrimitives = [("open-input-file", makePort openFile ReadMode),
3231
("open-binary-input-file", makePort openBinaryFile ReadMode),
@@ -162,7 +161,7 @@ exportsFromEnv' [LispEnv env] = do
162161
return $ List result
163162
exportsFromEnv' err = return $ List []
164163

165-
{- "Pure" primitive functions -}
164+
-- | Pure primitive functions
166165
primitives :: [(String, [LispVal] -> ThrowsError LispVal)]
167166
primitives = [("+", numAdd),
168167
("-", numSub),

0 commit comments

Comments
 (0)