Skip to content

Commit

Permalink
Correction in calling functions section (#402)
Browse files Browse the repository at this point in the history
* correction in calling functions section

List elements separated by white space
examples were not generating correctly.
  • Loading branch information
henrik-ch authored Nov 26, 2022
1 parent aa634fd commit fa6aebe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/tutorials/nix-language.md
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,7 @@ let
in [ (f a) ]
```

[ 2 ]
[ 2 ]

```nix
let
Expand All @@ -1094,7 +1094,7 @@ let
in [ f a ]
```

[ <LAMBDA> 1 ]
[ <LAMBDA> 1 ]

The first example reads: apply `f` to `a`, and put the result in a list.
The resulting list has one element.
Expand Down

0 comments on commit fa6aebe

Please sign in to comment.