File: doc-lambda-flavors.expected

package info (click to toggle)
nix 2.26.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,524 kB
  • sloc: cpp: 87,540; sh: 8,864; perl: 649; yacc: 466; xml: 410; javascript: 378; lex: 329; ansic: 215; python: 128; sql: 56; makefile: 33; exp: 5; ruby: 1
file content (33 lines) | stat: -rw-r--r-- 725 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Nix <nix version>
Type :? for help.

nix-repl> :l doc-comments.nix
Added <number omitted> variables.

nix-repl> :doc nonStrict
Function `nonStrict`\
  … defined at /path/to/tests/functional/repl/doc-comments.nix:60:5


My syntax is not strict, but I'm strict anyway.

nix-repl> :doc strict
Function `strict`\
  … defined at /path/to/tests/functional/repl/doc-comments.nix:65:5


I don't have to be strict, but I am anyway.

nix-repl> :doc strictPre
Function `strictPre`\
  … defined at /path/to/tests/functional/repl/doc-comments.nix:71:5


Here's one way to do this

nix-repl> :doc strictPost
Function `strictPost`\
  … defined at /path/to/tests/functional/repl/doc-comments.nix:76:5


Here's another way to do this