jfischoff / hs-cmdstan

Haskell CmdStan Wrapper
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Maybe need a richer structure for arguments to the model exe #7

Open adamConnerSax opened 3 years ago

adamConnerSax commented 3 years ago

I've been adding options to the exe config but some are compatible with only some other args so at some point it might make sense to replace the various Maybes with an ADT with the various options organized to make it easier to prevent setting incompatible ones. Would you be interested in a PR with such a thing?

jfischoff commented 3 years ago

My guess is the complexity of this ADT is not worth the errors it could prevent. Feel free to give it a go though.