On 2014-11-02 10:19, Joshua Hoblitt wrote:

# best effort, or fail
convert_to(Number, value)
It would require changes to the lexer but another syntactic option (not
that I'm advocating it) would be C style type coercion.

(String)$my_hungarian_integer
I perceive this as a type cast, not a conversion, and would expect a runtime exception unless $my_hungarian_integer already is a string.

- thomas

--
You received this message because you are subscribed to the Google Groups "Puppet 
Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/54574654.3010200%40puppetlabs.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to