wren_rust 0.1.3

Bindings to the Wren scripting language API
1
2
3
4
5
import "random" for Random

var random = Random.new(12345)

random.sample([]) // expect runtime error: Not enough elements to sample.