[Nix-dev] isFloat

Christian Theune ct at flyingcircus.io
Mon Jan 4 18:10:40 CET 2016


> On 04 Jan 2016, at 18:02, Christian Theune <ct at flyingcircus.io> wrote:
> 
> Hi,
> 
>> On 04 Jan 2016, at 17:27, Eelco Dolstra <eelco.dolstra at logicblox.com <mailto: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 think I meant that for str -> int conversion … Anyways … :)

--
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/9387ef23/attachment.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/9387ef23/attachment.bin 


More information about the nix-dev mailing list