Michael Norrish

Results 238 comments of Michael Norrish

Exporting both `translate_regexp` and `parse_regexp` along with your own type seems perfectly reasonable to me. (And you're quite right about your `~` example; brain fade on my part.)

Could you put the `datatype` declaration for `search_regexp` into the signature please? Having it be completely opaque with just a `type` declaration makes it difficult/impossible to do anything with it.

Yes, that's right. You can avoid the "code smell" by declaring the datatype in a `structure` (a `.sml` file conventionally), and then referring to that declaration in both the signature...

`DB.find "and~cl"` now goes into an infinite loop; do you have time to look into this?

Why is this a good idea? If anything, I'd prefer to simplify the LHS above into `B ==> ~A`.

(Which we could do by extending the implication congruence rule to assume the negation of the r.h.s. of the arrow while simplifying the left.)

Lots of it, it would appear! I'd be tempted to put `BOOL_EQ_IMP_CONV` into `bool_ss`.

It's not clear to me that this is a problematic behaviour.