mdiep / Logician

Logic programming in Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bimap should be able to throw if a value can't be converted

mdiep opened this issue · comments

For instance, integer multiplication would require division with no remainder. Given a * b == 12 where a and b are integers, b == 7 shouldn't unify.

Would b == 7 be the bit that fails, or would it be b : Integer? 😁