wkschwartz / pigosat

Go (golang) bindings for Picosat, the satisfiability solver
Other
15 stars 4 forks source link

Switch order or return values from Solve #10

Closed wkschwartz closed 7 years ago

wkschwartz commented 9 years ago

Most Go functions return ordered tuples of (thing, error). Solve's status return value is basically the error. It would be more Go-like for it to go second.