on master help sign in
Switch one of the names in the JSON representation of type info.
commit6761fbb6952be790e2636a0ecd8650c98d930c18 authorevancz <info@elm-lang.org> dateThu 14 Mar 2013, 01:47 (14 years ago) parent42b4d55
1 file changed+1−1
compiler/src/Docs.hs+1−1
compiler/src/Docs.hs+1−1
@@ -23,7 +23,7 @@ toModules ms =
2323 "{ \"modules\" : [\n " ++ intercalate ",\n " (map toModule ms) ++ "\n ]\n}"
2424
2525toModule (name, values) =
26− "{ \"module\" : " ++ show name ++ ",\n \"values\" : [\n " ++ vs ++ "\n ]\n }"
26+ "{ \"name\" : " ++ show name ++ ",\n \"values\" : [\n " ++ vs ++ "\n ]\n }"
2727 where vs = intercalate ",\n " (map toValue values)
2828
2929toValue (name, tipe) =