# E4117

Function with labelled arguments can only be applied directly.

This means you cannot pass a function with labelled arguments as an argument to
another function.

## Erroneous example

```{literalinclude} /sources/error_codes/4117_error/top.mbt
:language: moonbit
```

Use [Partial Applications](https://docs.moonbitlang.com/en/latest/language/fundamentals.html#partial-applications)
to create a function value without labelled arguments.

## Suggestion

```{literalinclude} /sources/error_codes/4117_fixed/top.mbt
:language: moonbit
```
