develooper Front page | perl.perl5.porters | Postings from March 2022

Re: Pre-RFC: builtin:: functions for detecting numbers vs strings

Thread Previous | Thread Next
From:
Darren Duncan
Date:
March 14, 2022 17:59
Subject:
Re: Pre-RFC: builtin:: functions for detecting numbers vs strings
Message ID:
71b117f5-a5c7-9894-1de8-63d26741ccb3@darrenduncan.net
On 2022-03-14 10:53 a.m., Dan Book wrote:
> We are not discussing classification of values. Again, please bring that up in 
> threads about typing and not here.

Are these functions not about giving JSON serializers and other similar tools 
the information they need to pick an output format like a number or a string?

If so then I see type classifying is exactly what we're doing, because each of 
these tends to correspond directly to a serialization syntax.

If that use case is not what these functions are for, then what are they for?

-- Darren Duncan

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About