complex-human-data-hub / Private

Private privacy preserving analysis language
0 stars 0 forks source link

frozenset should just be shown as a set #205

Open sjd201 opened 4 years ago

sjd201 commented 4 years ago

frozenset({'__UProject__', '__SEMA__', '__App__'})

should appear as

{'__UProject__', '__SEMA__', '__App__'}

Also, it would be good if we could specify sets using the curly brace notation instead of having to use the set([1,2,3])

This

> h = {1,2,3}
   Syntax Error: h = *{1,2,3}

not this

> h = set([1,2,3])
 > h
   frozenset({1, 2, 3})
sjd201 commented 4 years ago

Actually, because the language is declarative there is no differences between sets and lists, so this should come back looking like a list.