[Nix-dev] isFloat

Christian Theune ct at flyingcircus.io
Mon Jan 4 18:02:32 CET 2016


Hi,

> On 04 Jan 2016, at 17:27, Eelco Dolstra <eelco.dolstra at logicblox.com> wrote:
> 
> Hi,
> 
> On 04/01/16 17:12, Rok Garbas wrote:
> 
>> should we add this to nixpkgs/lib? it is usefull (using it right now) :)
> 
> IMHO, it would be cleaner to add floats to the Nix language. Before somebody
> decides to implement floating point arithmetic using a bunch of regexps ;-)

Plus one! I think we also started converting to floats. IIRC we used fromJSON for the conversion … :)

I’m getting curious what this would actually entail …

*digs into code*

--
Christian Theune · ct at flyingcircus.io · +49 345 219401 0
Flying Circus Internet Operations GmbH · http://flyingcircus.io
Forsterstraße 29 · 06112 Halle (Saale) · Deutschland
HR Stendal HRB 21169 · Geschäftsführer: Christian. Theune, Christian. Zagrodnick

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160104/d7283d81/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160104/d7283d81/attachment-0001.bin 


More information about the nix-dev mailing list