@@ -55,7 +55,7 @@ data ErrorMessage
5555 | ErrorInFile FilePath ErrorMessage
5656 deriving Show
5757
58−-- | Modules are either "regular modules" (i.e. those generated by psc-make) or foreign modules.
58+-- | Modules are either "regular modules" (i.e. those generated by psc) or foreign modules.
5959data ModuleType
6060 = Regular
6161 | Foreign
@@ -104,8 +104,8 @@ printErrorMessage :: ErrorMessage -> [String]
104104printErrorMessage (UnsupportedModulePath s) =
105105 [ "A CommonJS module has an unsupported name (" ++ show s ++ ")."
106106 , "The following file names are supported:"
107− , " 1) index.js (psc-make native modules)"
108− , " 2) foreign.js (psc-make foreign modules)"
107+ , " 1) index.js (psc native modules)"
108+ , " 2) foreign.js (psc foreign modules)"
109109 ]
110110printErrorMessage InvalidTopLevel =
111111 [ "Expected a list of source elements at the top level." ]
@@ -387,7 +387,7 @@ isModuleEmpty (Module _ els) = all isElementEmpty els
387387-- In particular, a module and its foreign imports share the same namespace inside PS.
388388-- This saves us from having to generate unique names for a module and its foreign imports,
389389-- and is safe since a module shares a namespace with its foreign imports in PureScript as well
390−-- (so there is no way to have overlaps in code generated by psc-make).
390+-- (so there is no way to have overlaps in code generated by psc).
391391codeGen :: Maybe String -- ^ main module
392392 -> String -- ^ namespace
393393 -> [Module] -- ^ input modules
@@ -518,7 +518,7 @@ codeGen optionsMainModule optionsNamespace ms = renderToString (NN (JSSourceElem
518518-- This function performs dead code elimination, filters empty modules
519519-- and generates and prints the final Javascript bundle.
520520bundle :: forall m. (Applicative m, MonadError ErrorMessage m)
521− => [(ModuleIdentifier, String)] -- ^ The input modules. Each module should be javascript rendered from 'Language.PureScript.Make' or @psc-make@.
521+ => [(ModuleIdentifier, String)] -- ^ The input modules. Each module should be javascript rendered from 'Language.PureScript.Make' or @psc@.
522522 -> [ModuleIdentifier] -- ^ Entry points. These module identifiers are used as the roots for dead-code elimination
523523 -> Maybe String -- ^ An optional main module.
524524 -> String -- ^ The namespace (e.g. PS).