mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-15 02:36:16 +02:00
ca2cc26e12
... as well as match buildReadlineNoMarkdown. Unfortunately it doesn't support long inputs or multiline inputs for now. This needs to make better use of the interacter interface.
31 lines
737 B
Text
31 lines
737 B
Text
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:37:70
|
|
|
|
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:38:63
|
|
|
|
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:40:48
|
|
|
|
Here's one way to do this
|
|
|
|
nix-repl> :doc strictPost
|
|
Function `strictPost`\
|
|
… defined at /path/to/tests/functional/repl/doc-comments.nix:41:53
|
|
|
|
Here's another way to do this
|
|
|
|
nix-repl>
|