# An Introduction to Nox

Nox is a **practical** hybrid language with a **rich standard library** that **compiles to JavaScript**.  It is designed for ease of use, to improve long term code maintainability, easy refactoring, by heavily tapping into functional programming language concepts.

{% hint style="warning" %}
**Note:** Nox is not even a real thing yet. It's a language that is still in development.
{% endhint %}

It is inspired by Elm, Haskell, Python, Rust, JavaScript, and TypeScript/Flow.  If you know one of these languages already, you will find some familiarity here.

```
import foo.{ bar }


enum Maybe<T> {
    Just with T
    Nothing
}


func greet(s: Str): Str {
    return `Hello, #{s}!`
}
```


---

# 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://docs.nox-lang.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.
