diff src/shake.sml @ 144:f0d3402184d1

Simple forms work
author Adam Chlipala <adamc@hcoop.net>
date Tue, 22 Jul 2008 15:12:20 -0400
parents fd98dd10dce7
children 80192edca30d
line wrap: on
line diff
--- a/src/shake.sml	Sun Jul 20 13:30:19 2008 -0400
+++ b/src/shake.sml	Tue Jul 22 15:12:20 2008 -0400
@@ -44,7 +44,7 @@
 fun shake file =
     let
         val page_es = List.foldl
-                          (fn ((DExport n, _), page_es) => n :: page_es
+                          (fn ((DExport (_, n), _), page_es) => n :: page_es
                             | (_, page_es) => page_es) [] file
 
         val (cdef, edef) = foldl (fn ((DCon (_, n, _, c), _), (cdef, edef)) => (IM.insert (cdef, n, c), edef)