We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Motivated by this translation.
I wanted to create my own assertion, because basic Spec assertions do not allow for custom messages. I came up with:
-- shouldEqualMsg :: String -> String -> String -> MonadThrow Error Unit shouldEqualMsg v1 v2 msg = when (v1 /= v2) $ fail msg
However, signatures of assertion functions use types which are not available in packages defined as dependencies accessible for code of kata:
ModanThrow
Error
👍 reaction might help to get this request prioritized.
The text was updated successfully, but these errors were encountered:
The container image for PureScript is maintained in https://github.com/codewars/purescript
Can you open a PR?
Sorry, something went wrong.
No branches or pull requests
Motivated by this translation.
I wanted to create my own assertion, because basic Spec assertions do not allow for custom messages. I came up with:
However, signatures of assertion functions use types which are not available in packages defined as dependencies accessible for code of kata:
ModanThrow
is provided by the package purescript-transformers,Error
is provided by the package purescript/exceptions.👍 reaction might help to get this request prioritized.
The text was updated successfully, but these errors were encountered: