My inclination would have been to do so, and leave only the nuts and bolts functions (fopen, fclose, keyword-to-state, etc) in the impl ns. My thought on this is that it would be nice to have a constructor function which either had an :impl arg, or looked for some *default-implementation* var (along the lines of the core.matrix set-current-implementation function). We could of course keep the gpio lib more bare bones, and leave these sort of niceties to the BBB and Pi specific libraries, but then we'd potentially be implementing the same stuff twice (assuming we or others get to Pi).
Welcome your thoughts on this.
My inclination would have been to do so, and leave only the nuts and bolts functions (
fopen,fclose,keyword-to-state, etc) in theimplns. My thought on this is that it would be nice to have a constructor function which either had an:implarg, or looked for some*default-implementation*var (along the lines of thecore.matrixset-current-implementationfunction). We could of course keep thegpiolib more bare bones, and leave these sort of niceties to the BBB and Pi specific libraries, but then we'd potentially be implementing the same stuff twice (assuming we or others get to Pi).Welcome your thoughts on this.