forked from dfinity/candid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrandom.dhall
30 lines (29 loc) · 974 Bytes
/
random.dhall
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
let default =
{ range = None (List Natural)
, text = Some "emoji"
, width = Some 10
, depth = Some 5
, size = Some 100
, value = None (List Text)
}
in default
∧ { `[h]` = { `[0]`.a.range = Some [ 42, 42 ], b.range = Some [ 0, 1 ] }
, list = { depth = Some 20, size = Some 50 }
, val.value = Some [ "42", "-1" ]
, left = { depth = Some 1, range = Some [ -200, -100 ] }
, right.tree = { depth = Some 5, range = Some [ 100, 200 ] }
, vec.nat8.range = Some [ 65, 90 ]
, Vec = { width = Some 2, size = Some 10 }
, profile.record
=
{ name.text = Some "name"
, age.range = Some [ 18, 65 ]
, company.text = Some "company"
, country.text = Some "country"
, file.text = Some "path"
, description.text = Some "bs"
}
, principal.value
= Some
[ "principal \"aaaaa-aa\"", "principal \"2ibo7-dia\"" ]
}