]> hydra-www.ietfng.org Git - dyna2/commitdiff
tweaks
authortimv <tim.f.vieira@gmail.com>
Thu, 13 Dec 2012 03:33:20 +0000 (22:33 -0500)
committertimv <tim.f.vieira@gmail.com>
Thu, 13 Dec 2012 03:33:20 +0000 (22:33 -0500)
bin/prototype.py
bin/stdlib.py
src/Dyna/Backend/Python.hs

index 5389a8d665ea3b522daf99a9ff58cb5a94743329..4e97c45951800d1499211507d789bb9dc858ea12 100644 (file)
@@ -217,7 +217,7 @@ def main(dynafile):
 
 html, body {margin:0; padding:0;}
 
-#dyna-source { position:absolute; height: 95%; width: 42%; top: 10px; left: 0%;  }
+#dyna-source { position:absolute; height: 95%; width: 42%; top: 10px; left: 0%; padding-left: 10px;  }
 #circuit-pane { position:absolute; width: 50%; top: 10px; left: 42%; padding-left: 5%; }
 #update-handler-pane { position: absolute; top: 10px; left: 100%; width: 45%; padding-right: 5%; }
 
@@ -227,7 +227,7 @@ html, body {margin:0; padding:0;}
 
 h2 { margin-top: 40px; }
 a { cursor: pointer; }
-svg { width: 90%; height: 90%; }
+svg { width: 95%; height: 97%; }
 body { background: black; color: white; }
 
 </style>
index 4059f11dc70c5a1415baf1d839ec947ccc4beacc..a72275e3b4633909182b5611952e7b9ee26ff2b3 100644 (file)
@@ -36,7 +36,7 @@ def dump_charts(out=sys.stdout):
         print >> out, x
         print >> out, '====================================='
 
-        rows = [(pretty((x,idx)), idx, row, row[-1]) for idx, row in chart[x].data.items()]
+        rows = [(pretty((x,idx)), idx, row, pretty(row[-1])) for idx, row in chart[x].data.items()]
         rows.sort()
 
         for p, _, _, v in rows:
index 61d22f894e5a8ef485f22a07eff6dad46c372f49..bc990b0344ab344be2ff79ff148017553d53022e 100644 (file)
@@ -107,7 +107,7 @@ tupledOrUnderscore vs = if length vs > 0 then parens ((sepBy "," $ map pretty vs
 
 pslice vs = brackets $
        sepBy "," (map (\x -> case x of (MF v) -> ":" ; (MB v) -> pretty v) vs)
-       <+> "," -- add a list comma to ensure getitem is always passed a tuple.
+       <> "," -- add a list comma to ensure getitem is always passed a tuple.
 
 filterBound = map (\(MF v) -> pretty v) . filter (not.isBound)