The way Clojure code solves things are very elegant, but unusual for people without a solid background in fully functional programming languages (like me).

I’ve tried to solve simple problems from Project Euler using Clojure, but failed due the lack of that background.

One problem I was trying to solve was to sum the numbers until a limit. Let’s say I want the sum until 5, so, the math would be `1 + 2 + 3 + 4 + 5 = 15`

.

In JavaScript I would do something like:

```
function sumUntilLimit(limit) {
let counter = 0,
result = 0;
while(counter <= limit) {
result += counter;
counter++;
}
return result;
}
sumUntilLimit(5); // 15
```

How would you do accomplish the right result using Clojure?