From 1f4f32d826ffaafdd1a22ff1450a87e69d7dbd16 Mon Sep 17 00:00:00 2001 From: Yoichiro Hasebe Date: Sat, 19 Nov 2022 12:10:18 +0900 Subject: [PATCH] Fixed typo --- docs/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/README.md b/docs/README.md index 127146c..2290805 100644 --- a/docs/README.md +++ b/docs/README.md @@ -62,7 +62,7 @@ A => () ## All monads -Everything that is a monad in Monet will implement the following functions. The specific monads will be discussed in detail int their own sections. +Everything that is a monad in Monet will implement the following functions. The specific monads will be discussed in detail in their own sections. ### bind **Aliases:** `flatMap`, `chain` @@ -150,7 +150,7 @@ Checks if passed object is an instance of concrete Monet type. ### static isOfType ```scala -MonadStatic.isInstance(m: Any): Boolean; +MonadStatic.isOfType(m: Any): Boolean; ``` Checks if passed object is an instance of some similar type. This check is based on `@@type` property attached to constructor and/or every instance of every type holding a string of shape `Monet/${name}`. Its purpose is to enable checks with other JS libraries that also use same approach (e.g. https://github.com/ramda/ramda-fantasy, https://github.com/char0n/ramda-adjunct). This method is internally used in all types that extend `Setoid` in `equals` method.