From 14ac4b4808ef8749209a0231b172c47c9a74f18e Mon Sep 17 00:00:00 2001 From: Hiroshi Kimura Date: Thu, 30 Nov 2023 19:38:06 +0900 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e898d07..0b1ac52 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# &> +# value`&>`.do { ... } A tiny library that enables us to describe operations in method-chain. @@ -17,10 +17,10 @@ let view: UIView = UIView()&>.do { ## Motivation -Actually, I'm not addict to that getting a custom operator. -However **a global function** or **operator** are only way to add a new feature without customizing our own types. +Actually, I'm not addicted to getting a custom operator. +However **a global function** or **operator** are the only way to add a new feature without customizing our own types. -Other way is using something protocol and extending it like this. +Another way is using something protocol and extending it like this. It can not be used in struct without adding that protocol. In fact, this structure looks very natural, because the all of method chaining in Swift standard libary come from an kind of monad.