Skip to content

Instantly share code, notes, and snippets.

@xiaq
Last active October 11, 2016 23:20
Show Gist options
  • Select an option

  • Save xiaq/5dc9bc15b4b3b39e5468fb80c9873fc5 to your computer and use it in GitHub Desktop.

Select an option

Save xiaq/5dc9bc15b4b3b39e5468fb80c9873fc5 to your computer and use it in GitHub Desktop.
Breaking changes in elvish 0.5
  • The println builtin is now known as echo.

  • The == builtin now compares numbers -- == 1 1.0 is true, while == a a throws an exception. To compare strings, use ==s. It is part of a family of new builtins for comparing strings, <s, <=s, ==s, !=s, >s and >=s.

  • The is builtin is the new generic (shallow) equality predicate. The deep equality predicate deepeq is now known simply as eq.

  • Automatic use'ing has been removed. All modules must be used before use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment