on master help sign in
add a couple more packages to REPL outside of project

I think it is actually necessary to have elm/json for certain things defined in elm/core.

commit8b3cbabb158acfb7ab3fd146bd6906ef89836437 authorEvan Czaplicki <evancz@users.noreply.github.com> dateTue 16 Jul 2019, 16:23 (7 years ago) parent5365590
1 file changed+10−1
terminal/src/Repl.hs+10−1
terminal/src/Repl.hs+10−1
@@ -595,13 +595,22 @@ getRoot =
595595 Licenses.bsd3
596596 V.one
597597 (Outline.ExposedList [])
598− (Map.singleton Pkg.core C.anything)
598+ defaultDeps
599599 Map.empty
600600 C.defaultElm
601601
602602 return root
603603
604604
605+defaultDeps :: Map.Map Pkg.Name C.Constraint
606+defaultDeps =
607+ Map.fromList
608+ [ (Pkg.core, C.anything)
609+ , (Pkg.json, C.anything)
610+ , (Pkg.html, C.anything)
611+ ]
612+
613+
605614
606615-- GET INTERPRETER
607616