Justin Whear 62fe4a0ba8
std.rand.Random: add enumValue() (#9583)
* add Random.enumValue()

* edits suggested by review

* applied zig fmt

* Rewrite to use std.enums.values

Implemented pfgithub's suggestion to rewrite against this function, greatly simplifying the implementation.

Co-authored-by: Justin Whear <justin@economicmodeling.com>
2021-08-19 22:18:23 +03:00
..
2021-08-13 22:43:42 -05:00
2021-06-30 21:49:00 -05:00
2021-06-21 17:03:03 -07:00
2021-07-27 09:01:00 +09:00
2021-06-21 17:03:03 -07:00
2021-07-04 16:15:23 +02:00
2020-12-31 15:45:24 -08:00
2020-12-31 15:45:24 -08:00
2021-06-21 17:03:03 -07:00
2021-08-09 14:36:11 +09:00
2021-05-08 15:15:30 +03:00
2020-12-31 15:45:24 -08:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2020-12-31 15:45:24 -08:00
2021-05-08 15:15:30 +03:00
2020-12-31 15:45:24 -08:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-07-19 12:55:05 +03:00
2021-06-10 20:13:43 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-07-27 09:01:00 +09:00
2021-05-08 15:15:30 +03:00
2021-07-15 20:37:16 +03:00