equal
deleted
inserted
replaced
66 | (Free (s, U), ts) => SOME (list_comb (Free (s, T --> U), r :: ts)) |
66 | (Free (s, U), ts) => SOME (list_comb (Free (s, T --> U), r :: ts)) |
67 | _ => NONE) |
67 | _ => NONE) |
68 | rlz_proc _ = NONE; |
68 | rlz_proc _ = NONE; |
69 |
69 |
70 val unpack_ixn = apfst implode o apsnd (fst o read_int o tl) o |
70 val unpack_ixn = apfst implode o apsnd (fst o read_int o tl) o |
71 take_prefix (fn s => s <> ":") o explode; |
71 take_prefix (fn s => s <> ":") o raw_explode; |
72 |
72 |
73 type rules = |
73 type rules = |
74 {next: int, rs: ((term * term) list * (term * term)) list, |
74 {next: int, rs: ((term * term) list * (term * term)) list, |
75 net: (int * ((term * term) list * (term * term))) Net.net}; |
75 net: (int * ((term * term) list * (term * term))) Net.net}; |
76 |
76 |