Skip to content

Commit

Permalink
Fix environment::environment
Browse files Browse the repository at this point in the history
Signed-off-by: yamacir-kit <[email protected]>
  • Loading branch information
yamacir-kit committed Jun 5, 2022
1 parent b568897 commit e1373bf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ sudo rm -rf /usr/local/share/meevax

| Target Name | Description
|:-------------------|:--
| `all` (default) | Build shared-library `libmeevax.0.4.37.so` and executable `meevax`.
| `all` (default) | Build shared-library `libmeevax.0.4.38.so` and executable `meevax`.
| `test` | Test executable `meevax`.
| `package` | Generate debian package `meevax_0.4.37_amd64.deb`.
| `package` | Generate debian package `meevax_0.4.38_amd64.deb`.
| `install` | Copy files into `/usr/local` __(1)__.
| `install.deb` | `all` + `package` + `sudo apt install <meevax>.deb`
| `safe-install.deb` | `all` + `test` + `package` + `sudo apt install <meevax>.deb`
Expand All @@ -120,7 +120,7 @@ __(1)__ Meevax installed by `make install` cannot be uninstalled by the system's
## Usage

```
Meevax Lisp System, version 0.4.37
Meevax Lisp System, version 0.4.38
Usage: meevax [OPTION...] [FILE...]
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.37
0.4.38
10 changes: 5 additions & 5 deletions include/meevax/kernel/environment.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ inline namespace kernel
{
(import(xs), ...);

define<procedure>("set-batch!", [this](let const& xs, auto&&...) { return batch = car(xs); });
define<procedure>("set-debug!", [this](let const& xs, auto&&...) { return debug = car(xs); });
define<procedure>("set-interactive!", [this](let const& xs, auto&&...) { return interactive = car(xs); });
define<procedure>("set-trace!", [this](let const& xs, auto&&...) { return trace = car(xs); });
define<procedure>("set-verbose!", [this](let const& xs, auto&&...) { return verbose = car(xs); });
define<procedure>("set-batch!", [this](let const& xs, auto&&...) { return batch = select(car(xs)); });
define<procedure>("set-debug!", [this](let const& xs, auto&&...) { return debug = select(car(xs)); });
define<procedure>("set-interactive!", [this](let const& xs, auto&&...) { return interactive = select(car(xs)); });
define<procedure>("set-trace!", [this](let const& xs, auto&&...) { return trace = select(car(xs)); });
define<procedure>("set-verbose!", [this](let const& xs, auto&&...) { return verbose = select(car(xs)); });
}

auto operator [](const_reference) -> const_reference;
Expand Down

0 comments on commit e1373bf

Please sign in to comment.