msp-strath / Mary

Mary is the successor of Marx, a content delivery and assessment engine based on markdown and git
17 stars 1 forks source link

FromValue should be allowed to fail #59

Closed gallais closed 4 years ago

gallais commented 4 years ago

As discussed on slack, it would be nice to change the class FromValue so that we may return Maybe t rather than t. This would for instance allow us to fail hard in .mary test cases when the generated pandoc value is invalid.