diff --git a/gitlab-pages/docs/language-basics/functions.md b/gitlab-pages/docs/language-basics/functions.md index 83da5a338..d618779c7 100644 --- a/gitlab-pages/docs/language-basics/functions.md +++ b/gitlab-pages/docs/language-basics/functions.md @@ -93,4 +93,10 @@ const increment : (int -> int) = (function (const i : int) : int is i + 1); // a = 2 const a: int = increment(1); ``` - \ No newline at end of file + + +```cameligo +let increment : (int -> int) = fun (i: int) -> i + 1 +``` + +