The ? Placeholder

Write concise lambdas with Sloplang's implicit function syntax.

The `?` creates an anonymous function on the fly. Instead of writing `x -> x * 2`, you can write `? * 2`. It's shorter and often more readable in pipelines.

Loading WASM...

When `?` appears multiple times in the same expression, they all refer to the same argument. This is useful for operations that use a value more than once.

Loading WASM...

You can use `?` with field access and indexing. This is handy for working with structured data.

Loading WASM...

Unary operators work with `?` too. A common pattern is `-?` for descending sort.

Loading WASM...

You are not logged in.