1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-15 15:02:42 +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:
Michael Raskin 2018-06-10 14:20:18 +02:00
parent c57948e94a
commit dbcde5f2e8

View file

@ -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>