-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding changelog, fixing broken tests (#31)
- Loading branch information
Showing
8 changed files
with
126 additions
and
94 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# 0.2.0 "In Bloom" | ||
|
||
## Major Changes | ||
|
||
* Primitives are now more consistently handled, allowing them to be reassigned | ||
like any other function object. Prior to these enhancements, primitives | ||
would only be used for calls to specificly named symbols. | ||
|
||
```r | ||
f <- paste | ||
f("a", c("b", "c")) | ||
# [1] "a b" "a c" | ||
``` | ||
|
||
* A call stack with proper call frames is now added, paving the way for | ||
improved error messages and the implementation of R's metaprogramming tools. | ||
You can view the call stack by introducing a `callstack()` call: | ||
```r | ||
f <- function(...) list(..., callstack()) | ||
f("Hello, World!") | ||
# [[1]] | ||
# [1] "Hello, World!" | ||
# | ||
# [[2]] | ||
# [[2]][[1]] | ||
# f("Hello, World!") | ||
# | ||
# [[2]][[2]] | ||
# list(..., callstack()) | ||
# | ||
# [[2]][[3]] | ||
# callstack() | ||
``` | ||
* Even more primitives now implemented! This release brings `paste()` and | ||
`callstack()` (akin to R's `sys.calls()`) | ||
|
||
## Behind the Scenes | ||
|
||
* Primitives are now _all_ implemented as `dyn Primitive` objects, implementing | ||
a `Callable` trait. They still don't have a proper standard library namespace, | ||
and are discovered only if not found in the environment (or its parents), | ||
but this paves the way for treating primitives more like user-defined | ||
functions. | ||
## Thanks to our new contributors! | ||
@armenic (#16) | ||
# 0.1.0 "Why Not?" | ||
Initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters