Issue #15329 has been updated by Paul Pham.
Bump... Are we any closer to a resolution on this?
Bug #15329: Puppet lacks a proper undefined value
https://projects.puppetlabs.com/issues/15329#change-99300
* Author: Pieter van de Bruggen
* Status
: Puppet lacks a proper undefined value
https://projects.puppetlabs.com/issues/15329#change-99302
* Author: Pieter van de Bruggen
* Status: Accepted
* Priority: Normal
* Assignee: Henrik Lindberg
* Category:
* Target version:
* Affected Puppet version:
* Keywords: backlog
* Branch
that
needs to be carried?
Bug #15329: Puppet lacks a proper undefined value
https://projects.puppetlabs.com/issues/15329#change-78423
Author: Pieter van de Bruggen
Status: Accepted
Priority: Normal
Assignee: Henrik Lindberg
Category:
Target version
, and describe the
benefit (or draw/motivation) for doing so along with a pseudo-DSL sample (e.g.
using a hypothetical nothing keyword)? I think a concrete example would
further clarify a lot of the discussion in this thread.
Bug #15329: Puppet lacks
: Puppet lacks a proper undefined value
https://projects.puppetlabs.com/issues/15329#change-74407
Author: Pieter van de Bruggen
Status: Accepted
Priority: Normal
Assignee: Henrik Lindberg
Category:
Target version:
Affected Puppet version:
Keywords: backlog
Branch:
$y = undef
notice($y
lacks a proper undefined value
https://projects.puppetlabs.com/issues/15329#change-74414
Author: Pieter van de Bruggen
Status: Accepted
Priority: Normal
Assignee: Henrik Lindberg
Category:
Target version:
Affected Puppet version:
Keywords: backlog
Branch:
$y = undef
notice($y == ) # true
advantage with this scheme is that it is totally clear where an undef
becomes antimatter / is a noop. User can decide to pass the undef as a value,
or use it to not set, and there is no confusion with two separate
nothingness values.
Bug #15329: Puppet lacks
Issue #15329 has been updated by Henrik Lindberg.
Could also do something like
pre
file { 'foo': mode = $foo unless undef, owner = 'root' }
Bug #15329: Puppet lacks a proper undefined value
https://projects.puppetlabs.com/issues/15329#change-74522
that useful in a semi-untyped
language.
Think first step towards doing something about this is to clearly define
undef and nil and perform a thorough analysis.
Bug #15329: Puppet lacks a proper undefined value
https://projects.puppetlabs.com/issues/15329
trying to
define what behaviour we want and making sure that things are consistent for
the various things people want out of the DSL.
Bug #15329: Puppet lacks a proper undefined value
https://projects.puppetlabs.com/issues/15329#change-69626
Author: Pieter
that situation.
So what is a way that we can get the semantics we want with a minimal (or at
least very clearly understandable) break of existing code?
Bug #15329: Puppet lacks a proper undefined value
https://projects.puppetlabs.com/issues/15329#change-69468
11 matches
Mail list logo