# Moja library for Java

The Moja library for Java has a number of useful interface and class definitions for programming in a functional style.

The Monadts library for TypeScript is equivallent to the Moja library for Java. They both have the same features and work pretty much the same way.

The following sections describe the evolution of the library with examples in both Java and Typescript.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://moja.keithkim.org/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
