Sheffield-iGEM / syn-zeug

A modern toolbox for synthetic biology
https://sheffield-igem.github.io/syn-zeug/
GNU Affero General Public License v3.0
6 stars 3 forks source link

Simplify the `biobox` Bindings with a Macro? #14

Closed TheLostLambda closed 2 years ago

TheLostLambda commented 2 years ago

The code in this file is insanely wank: https://github.com/TheLostLambda/syn-zeug/blob/a22f1e11019cf77882354e8d32828aa7a6e96869/biobox/src/lib.rs#L6-L24

It would be nice to apply some macro magic here (as this wrapping and unwrapping is quite repetitive and will only get worse).

TheLostLambda commented 2 years ago

Nope. That was an awful idea: https://github.com/TheLostLambda/syn-zeug/blob/macro-mess/biobox/src/lib.rs