From 14362461346b296833143d2d19e2fbbcce3abb01 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 9 May 2017 19:37:09 -0400 Subject: - Fixed some tests for lux/math/logic/fuzzy. - Removed a forgotten #seed in a test for lux/math/simple. - Added Hash. --- stdlib/source/lux/data/number.lux | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'stdlib/source') diff --git a/stdlib/source/lux/data/number.lux b/stdlib/source/lux/data/number.lux index 9f2c01d0e..418e84a14 100644 --- a/stdlib/source/lux/data/number.lux +++ b/stdlib/source/lux/data/number.lux @@ -181,6 +181,10 @@ (def: (hash value) (_lux_proc ["real" "hash"] [value]))) +(struct: #export _ (Hash Deg) + (def: eq Eq) + (def: hash (|>. (:! Nat)))) + ## [Values & Syntax] (do-template [ ] [(struct: #export (Codec Text Nat) -- cgit v1.2.3