diff --git a/README.md b/README.md index 0109983..1c1e1a3 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,16 @@ # Maybe - Safe Optional Values for TypeScript -`Maybe` is a utility for handling optional values safely and cleanly in TypeScript. Inspired by Haskell and OCaml, it provides a clear and functional approach to dealing with values that may or may not exist. +`Maybe` is a utility for handling optional values safely and cleanly in +TypeScript. Inspired by Haskell and OCaml, it provides a clear and functional +approach to dealing with values that may or may not exist. ## Features - **Explicit Optional Values**: Use `Some` and `None` for clarity. -- **Functional API**: Transform and handle values with `map`, `flatMap`, and `match`. +- **Functional API**: Transform and handle values with `map`, `flatMap`, and + `match`. - **Type-Safe**: Eliminate `null` and `undefined` errors. - ## Example ```ts @@ -29,4 +31,4 @@ const message = match(value, { }); console.log(message); // "Value is 42" -``` \ No newline at end of file +```