[add INSTANCE property to built in instances, change references of ERRROR_ANNOTATE to SRCLOC_ANNOTATE, clean up the docs a litte
John Meacham <john@repetae.net>**20051002024013] hunk ./Ho.hs 39
+import Info.Types
hunk ./Ho.hs 482
-    es = Map.fromList [  (n,(tVr (atomIndex $ toAtom n) (getType v),v)) |  (n,v) <- constantMethods ] `mappend` es'
+    es = Map.fromList [  (n,(setProperty prop_INSTANCE $ tVr (atomIndex $ toAtom n) (getType v),v)) |  (n,v) <- constantMethods ] `mappend` es'
hunk ./Ho.hs 484
-    es' = Map.fromList [ (n,(tVr (atomIndex $ toAtom n) (error "f no longer relevant"),v)) | (n,t,p,d) <- theMethods, let v = f n t p d  ]
+    es' = Map.fromList [ (n,(setProperty prop_INSTANCE $ tVr (atomIndex $ toAtom n) (error "f no longer relevant"),v)) | (n,t,p,d) <- theMethods, let v = f n t p d  ]
hunk ./Info/Types.hs 42
-prop_ERROR_ANNOTATE = toAtom "ERROR_ANNOTATE"
+prop_SRCLOC_ANNOTATE = toAtom "SRCLOC_ANNOTATE"
hunk ./Info/Types.hs 45
-prop_ERROR_ANNOTATE_FUN = toAtom "_ERROR_ANNOTATE_FUN"
+prop_SRCLOC_ANNOTATE_FUN = toAtom "_SRCLOC_ANNOTATE_FUN"
hunk ./docs/jhc.txt 1
-= Jhc = 
+= Jhc =
hunk ./docs/jhc.txt 12
-might be useful to other people so I am deciding to release it in this state. 
+might be useful to other people so I am deciding to release it in this state.
hunk ./docs/jhc.txt 18
-being worked on and some libraries that need to be filled out) 
+being worked on and some libraries that need to be filled out)
hunk ./docs/jhc.txt 31
-* Compilation by transformation with 2 general intermediate languages. 
+* Compilation by transformation with 2 general intermediate languages.
hunk ./docs/jhc.txt 63
-simple basic-blocks analysis is enough to transform tail-calls into loops. 
+simple basic-blocks analysis is enough to transform tail-calls into loops.
hunk ./docs/jhc.txt 67
-== More in depth == 
+== More in depth ==
hunk ./docs/jhc.txt 70
-=== Type Classes === 
+=== Type Classes ===
hunk ./docs/jhc.txt 74
-by other Haskell compilers. 
+by other Haskell compilers.
hunk ./docs/jhc.txt 80
-function and calls the appropriate overloaded routine directly. 
+function and calls the appropriate overloaded routine directly.
hunk ./docs/jhc.txt 94
-are MUCH more efficient. 
+are MUCH more efficient.
hunk ./docs/jhc.txt 112
-dependency transforms into a case statement which may be omitted. 
+dependency transforms into a case statement which may be omitted.
hunk ./docs/jhc.txt 119
-rules. 
+rules.
hunk ./docs/jhc.txt 122
-(see below) 
+(see below)
hunk ./docs/jhc.txt 137
-* It is typed. 
+* It is typed.
hunk ./docs/jhc.txt 139
-* It has multiple return values as a primitive (unboxed tuples) 
+* It has multiple return values as a primitive (unboxed tuples)
hunk ./docs/jhc.txt 154
-A whole lot can be learned from the Grin data type and Grin is fully defined by the following  
+A whole lot can be learned from the Grin data type and Grin is fully defined by the following
hunk ./docs/jhc.txt 157
-  
+
hunk ./docs/jhc.txt 160
-  
+
hunk ./docs/jhc.txt 173
-  
+
hunk ./docs/jhc.txt 184
-  
+
hunk ./docs/jhc.txt 201
- 
+
hunk ./docs/jhc.txt 236
-* ERROR_ANNOTATE pragma. This is a generalization of GHCs assert magic. A
-  function which is given an ERROR_ANNOTATE pragma will be replaced with an
+* SRCLOC_ANNOTATE pragma. This is a generalization of GHCs assert magic. A
+  function which is given an SRCLOC_ANNOTATE pragma will be replaced with an
hunk ./docs/jhc.txt 240
-  alternate function is named <code>[function]_err_ann__</code> and must be in 
-  the same module as the original function. Jhc does no checking to ensure both 
+  alternate function is named <code>[function]_srcloc_ann__</code> and must be in
+  the same module as the original function. Jhc does no checking to ensure both
hunk ./docs/jhc.txt 243
-  example is 
+  example is
hunk ./docs/jhc.txt 250
+
+  {-# SRCLOC_ANNOTATE head #-}
hunk ./docs/jhc.txt 253
-  {-# ERROR_ANNOTATE head #-}
-  
-  head_err_ann__ :: String -> [a] -> a
-  head_err_ann__ pos (x:xs) = x
-  head_err_ann__ pos [] = error $ pos ++ ": head - empty list"
+  head_srcloc_ann__ :: String -> [a] -> a
+  head_srcloc_ann__ pos (x:xs) = x
+  head_srcloc_ann__ pos [] = error $ pos ++ ": head - empty list"
hunk ./docs/jhc.txt 261
-  
-  
+
+
hunk ./docs/jhc.txt 275
-  routine will be used, even if it could not be proven at compile time. 
+  routine will be used, even if it could not be proven at compile time.
hunk ./docs/jhc.txt 285
-  bloat but might be a big win in certain cases. 
+  bloat but might be a big win in certain cases.
hunk ./docs/jhc.txt 306
-end. 
+end.
hunk ./docs/jhc.txt 311
-files I decided to make a push for jhc to become a usable compiler. 
+files I decided to make a push for jhc to become a usable compiler.
hunk ./docs/jhc.txt 325
-* There are still some major bugs 
+* There are still some major bugs
hunk ./docs/jhc.txt 345
-== References == 
+== References ==
hunk ./docs/jhc.txt 365
-http://repetae.net/john/computer/jhc  
+http://repetae.net/john/computer/jhc
hunk ./docs/using.txt 4
-can execute it and putting the libraries somewhere. 
+can execute it and putting the libraries somewhere.
hunk ./docs/using.txt 12
-==== Getting the source ==== 
+==== Getting the source ====
hunk ./docs/using.txt 17
-  darcs get http://repetae.net/john/repos/jhc 
+  darcs get http://repetae.net/john/repos/jhc
hunk ./docs/using.txt 19
-  darcs get http://repetae.net/john/repos/Boolean 
+  darcs get http://repetae.net/john/repos/Boolean
hunk ./docs/using.txt 25
-and get a binary 'jhc' out if nothing went wrong.  
+and get a binary 'jhc' out if nothing went wrong.
hunk ./docs/using.txt 47
-dependencies automatically. just run jhc on your file containing the Main module.  
+dependencies automatically. just run jhc on your file containing the Main module.
hunk ./docs/using.txt 49
-  jhc -v Main.hs 
+  jhc -v Main.hs
hunk ./docs/using.txt 66
-things to pass to -d 
+things to pass to -d
hunk ./docs/using.txt 70
-things to pass to -f 
+things to pass to -f
hunk ./docs/using.txt 74
----- 
+----