← Back to context

Comment by o11c

4 days ago

If the type signature isn't enough to fully constrain that, you need to fix your typing.

If you have a `Foo` object, it should always be able to do every possible thing a `Foo` can do.

If you need to do something first, it should be a required argument to whatever lets you construct a `Foo` in the first place.