Quantcast
Channel: dkal Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 25

Edited Feature: Collections support [2]

$
0
0
type declaration:

```
type CollectionOfStrings = System.String[]
```

usage (see ModularEngine/samples/MultiMain/collections.mdkal):

```
relation rel(A: CollectionOfStrings)

knows rel(["qwe"; "asd"; "zxc"])
knows rel([])

with A: CollectionOfStrings
if rel(A) && asInfon({|"basic"|A.exists("qwe")|})
do send to me: rel(A)

if rel(A) && asInfon({|"basic"|A.isEmpty()|})
do send to me: log("empty") && rel(A)
```


Viewing all articles
Browse latest Browse all 25

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>