diff options
Diffstat (limited to 'api/lists.yaml')
| -rw-r--r-- | api/lists.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/lists.yaml b/api/lists.yaml index 5a2bc2a1..ef526a9d 100644 --- a/api/lists.yaml +++ b/api/lists.yaml @@ -442,7 +442,7 @@ List.sample: description: > The number of elements to sample. weights: - type: '[Num]?' + type: '[Float64]?' default: 'none' description: > The probability weights for each element in the list. These @@ -450,7 +450,7 @@ List.sample: weights. If no weights are given, elements will be sampled with uniform probability. random: - type: 'func(->Num)?' + type: 'func(->Float64)?' default: 'none' description: > If provided, this function will be used to get random values for |
