src/HOL/Matrix/Compute_Oracle/compute.ML
changeset 46536 09ee87ef8b43
parent 46535 0db3de1b0cd5
child 46537 84f20233d466
--- a/src/HOL/Matrix/Compute_Oracle/compute.ML	Fri Feb 10 23:14:23 2012 +0100
+++ b/src/HOL/Matrix/Compute_Oracle/compute.ML	Fri Feb 10 23:16:24 2012 +0100
@@ -49,10 +49,9 @@
     val empty : encoding
     val insert : term -> encoding -> int * encoding
     val lookup_code : term -> encoding -> int option
-    val lookup_term : int -> encoding -> term option                                    
+    val lookup_term : int -> encoding -> term option
     val remove_code : int -> encoding -> encoding
     val remove_term : term -> encoding -> encoding
-    val fold : ((term * int) -> 'a -> 'a) -> encoding -> 'a -> 'a                                                      
 end 
 = 
 struct
@@ -76,8 +75,6 @@
 fun remove_term t (e as (count, term2int, int2term)) = 
     (case lookup_code t e of NONE => e | SOME c => (count, Termtab.delete t term2int, Inttab.delete c int2term))
 
-fun fold f (_, term2int, _) = Termtab.fold f term2int
-
 end
 
 exception Make of string;