Skip to content

simpler, lighter, stronger

Compare
Choose a tag to compare
@nteetor nteetor released this 28 Jul 17:47

summary

  • The bracket and colon syntax has been deprecated in favor of a lighter syntax.
    Documentation has been updated accordingly, see docs for more
    information about the new syntax. Using the old syntax will raise a warning
    and will be removed in future versions of zeallot. Thank you to @hadley for
    the suggestion. (#21)
  • %<-% can now be used for regular assignment. (#17)
  • ... can now be used to skip multiple values without assigning those values
    and is now recommended over the previously suggested ..... (#18)
  • massign() is no longer exported.

syntax

  • c(a, b) %<-% c(0, 1)
  • c(a, b) %<-% list(0, 1)
  • c(a, c(b, d)) %<-% list(0, list(1, 2))
  • c(a, c(b, d)) %<-% data.frame(x = 1:5, y = 6:10, z = 11:15)

bug fixes

  • Numerics on left-hand side are no longer unintentionally quoted and will now
    raise an error. (#20)
  • Language objects on left-hand side are no longer treated as symbols and will
    now raise an error. (#20)