Skip to content

Commit

Permalink
add missing .filter for sets; bump 0.4.23
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Aug 27, 2021
1 parent 36d1549 commit a210a78
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "calcit_runner"
version = "0.4.22"
version = "0.4.23"
authors = ["jiyinyiyong <jiyinyiyong@gmail.com>"]
edition = "2018"
license = "MIT"
Expand Down
5 changes: 5 additions & 0 deletions calcit/snapshots/test-set.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,11 @@
#{} 1 3 5
.to-set $ #{} 1 3 5

assert=
#{} 7 9
.filter (#{} 1 3 5 7 9)
fn (x) (&> x 5)

|main! $ quote
defn main! ()
log-title "|Testing set"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@calcit/procs",
"version": "0.4.22",
"version": "0.4.23",
"main": "./lib/calcit.procs.js",
"devDependencies": {
"@types/node": "^16.7.2",
Expand Down
1 change: 1 addition & 0 deletions src/cirru/calcit-core.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -1284,6 +1284,7 @@
:exclude exclude
:empty $ defn &set:empty (x) (#{})
:empty? &set:empty?
:filter &set:filter
:include include
:includes? &set:includes?
:contains? &set:includes?
Expand Down
2 changes: 1 addition & 1 deletion ts-src/calcit.procs.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// CALCIT VERSION
export const calcit_version = "0.4.22";
export const calcit_version = "0.4.23";

import { overwriteComparator, initTernaryTreeMap } from "@calcit/ternary-tree";
import { parse } from "@cirru/parser.ts";
Expand Down

0 comments on commit a210a78

Please sign in to comment.