Skip to content

Commit

Permalink
Merge tag 'v2018.01.1' into yang-restrictions-upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneia committed Mar 5, 2018
2 parents e577721 + 2ba2df0 commit 03daccb
Show file tree
Hide file tree
Showing 317 changed files with 26,576 additions and 10,421 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -20,3 +20,4 @@ __pycache__
/src/programs.inc
.images
/lib/luajit/usr
/src/program/programs.inc
2 changes: 1 addition & 1 deletion .version
@@ -1 +1 @@
2017.11
2018.01
13 changes: 13 additions & 0 deletions src/README.md
Expand Up @@ -953,6 +953,19 @@ lib.parse({foo=42, bar=43}, {foo={required=true}, bar={}, baz={default=44}})
=> {foo=42, bar=43, baz=44}
```

- Function **lib.set** *vargs*

Reads a variable number of arguments and returns a table representing a set.
The returned value can be used to query whether an element belongs or not to
the set.

Example:

```
local t = set('foo', 'bar')
t['foo'] -- yields true.
t['quax'] -- yields false.
```

## Multiprocess operation (core.worker)

Expand Down
2 changes: 1 addition & 1 deletion src/apps/basic/basic_apps.lua
Expand Up @@ -117,7 +117,7 @@ function Repeater:new ()
{__index=Repeater})
end

function Repeater:pull ()
function Repeater:push ()
local i, o = self.input.input, self.output.output
for _ = 1, link.nreadable(i) do
local p = receive(i)
Expand Down
145 changes: 0 additions & 145 deletions src/apps/config/README.md

This file was deleted.

84 changes: 0 additions & 84 deletions src/apps/config/follower.lua

This file was deleted.

0 comments on commit 03daccb

Please sign in to comment.