Skip to content

abudzinskyy/maybe-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maybe-java

This is the Maybe monad for Java.

Introduction

Maybe is implementation inspired by Haskell's Data.Maybe and Control.Monad.Except monads. Unlike exception-throwing, Optional or Either-style approaches, it's purpose is to provide a useful monad around data that may exist or has an error at runtime.

Reference

  • Maybe.of
  • Maybe.ofNullable
  • Maybe.empty
  • Maybe.failure

Usage Patterns

Contribution

Releases

No releases published

Packages

No packages published

Languages