diff options
author | Eduardo Julian | 2016-12-12 22:33:22 -0400 |
---|---|---|
committer | Eduardo Julian | 2016-12-12 22:33:22 -0400 |
commit | 02f78b1ff29982bea8c93fe6252593ba3942f38b (patch) | |
tree | bbd7902fb8251848f9ce6ac6dd9f98bbcb5f71b8 /stdlib/source/lux.lux | |
parent | 6095c8149a4f0c47333d50186f0758d286d30dec (diff) |
- Renamed "==" function to "is".
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux.lux | 6 |
1 files changed, 3 insertions, 3 deletions
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])) |