Spec verifier for early detection of invalid export arity
Merge pull request #373 from serge-sans-paille/bugfix/nice-error-message-on-incorrect-export-arity

Spec verifier for early detection of invalid export arity
Code factorisation for yielders