Short introduction

In this page, we will give you a very short introduction, with the goal to show you some concepts of the cartesian language.

Cartesian is a functional language in it's core

:::cartesian
define fact n = if n >= 1 then n*(fact (n - 1)) else 1
(fact 10)

For everyone having used languages like ocaml, or scheme, the comprehension is evident: The "fact" function is defined recursively, then called. If you try the code in the interpreter, you will be surprised to get an error: