/result-extra

Convenience functions for working with Result.

Primary LanguageElmMIT LicenseMIT

Convenience functions for working with Result

result-extra Build Status

This package contains convenience functions for working with the Result type.

You may want to import this module directly into the Result namespace:

import Result.Extra as Result

Then you can use the included functions similarly to the Result module in elm/core. E.g., Result.singleton 5 or Result.isOk someResultValue.

Feedback and contributions are very welcome.

Contributing

Pull requests are welcome. If you want to talk to us, join us on the #elm-community channel on the Elm Slack. You can reach the maintainer at @Lysergia on slack, or @prikhi on github.

License

The source code for this package is released under the terms of the MIT license. See the LICENSE file.