mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 06:52:43 +01:00
manual: builtins.fromJSON: remove the claim that floats are not allowed
floating-point numbers are supported now, including the fromJSON
builtin. Reported on IRC by inquisitiv3
(cherry picked from commit 17bc757980)
This commit is contained in:
parent
c57948e94a
commit
dbcde5f2e8
1 changed files with 1 additions and 2 deletions
|
|
@ -479,8 +479,7 @@ builtins.fromJSON ''{"x": [1, 2, 3], "y": null}''
|
|||
</programlisting>
|
||||
|
||||
returns the value <literal>{ x = [ 1 2 3 ]; y = null;
|
||||
}</literal>. Floating point numbers are not
|
||||
supported.</para></listitem>
|
||||
}</literal>.</para></listitem>
|
||||
|
||||
</varlistentry>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue