Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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.
Expand Down