From 02f78b1ff29982bea8c93fe6252593ba3942f38b Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Mon, 12 Dec 2016 22:33:22 -0400 Subject: - Renamed "==" function to "is". --- stdlib/source/lux.lux | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stdlib/source/lux.lux') diff --git a/stdlib/source/lux.lux b/stdlib/source/lux.lux index dd8e70ab6..168afa397 100644 --- a/stdlib/source/lux.lux +++ b/stdlib/source/lux.lux @@ -5352,14 +5352,14 @@ _ (fail "Wrong syntax for $"))) -(def: #export (== left right) +(def: #export (is left right) {#;doc (doc "Tests whether the 2 values are identical (not just \"equal\")." "This one should succeed:" (let [value 5] - (== 5 5)) + (is 5 5)) "This one should fail:" - (== 5 (i.+ 2 3)))} + (is 5 (i.+ 2 3)))} (All [a] (-> a a Bool)) (_lux_proc ["lux" "=="] [left right])) -- cgit v1.2.3