aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/random.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/random.lux')
-rw-r--r--stdlib/source/lux/random.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/lux/random.lux b/stdlib/source/lux/random.lux
index 802dbfae6..195255643 100644
--- a/stdlib/source/lux/random.lux
+++ b/stdlib/source/lux/random.lux
@@ -100,9 +100,9 @@
int-to-real
(r./ (|> +1 (bit;<< +53) nat-to-int int-to-real))))))
-(def: #export frac
- (Random Frac)
- (:: Monad<Random> map real-to-frac real))
+(def: #export deg
+ (Random Deg)
+ (:: Monad<Random> map real-to-deg real))
(def: #export char
(Random Char)