From 04e37a07cd57388301979c41a4929cc25906d4e1 Mon Sep 17 00:00:00 2001 From: maksimru Date: Thu, 5 Oct 2023 00:59:58 -0700 Subject: [PATCH] chore(docs): adjusts readme file --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 21290f1..6daa001 100644 --- a/README.md +++ b/README.md @@ -11,17 +11,17 @@ The idea is based on Scala Option and Java Optional. The package allows to creat Set an non-empty value: ``` -option.Some[T](v) +option.Some[int](10) ``` Set an empty value: ``` -v := option.None[T]() +v := option.None[int]() ``` Set an empty value if v is nil, otherwise set non-empty value ``` -v := option.NewOption[T](v) +v := option.NewOption[int](10) ``` Remap one option to another option