about summary refs log tree commit diff
path: root/tests/lang/eval-okay-let.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-24T00·49+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-24T00·49+0200
commit05d02f798f65bf18e8ca71f3d23bfdf9df63fb7c (patch)
tree8b95f70bd39c526cb03a8c5bd43c900378f203e9 /tests/lang/eval-okay-let.nix
parent6da92d96aec29ab09cf909ac6a270bc2753cd34a (diff)
Add a typeOf primop
We already have some primops for determining the type of a value, such
as isString, but they're incomplete: for instance, there is no isPath.
Rather than adding more isBla functions, the generic typeOf function
returns a string representing the type of the argument (e.g. "int").
Diffstat (limited to 'tests/lang/eval-okay-let.nix')
0 files changed, 0 insertions, 0 deletions