summary refs log tree commit diff stats
path: root/lib/deprecated/core
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2015-09-29 22:34:57 +0200
committerAdam Strzelecki <ono@java.pl>2015-09-30 12:26:25 +0200
commit144dc8f8ad209ebcb6591e0adc1bc4cb73528f3a (patch)
tree92a7e34e176cb56e48780b13dce30eb6aed8c09a /lib/deprecated/core
parent4071219e201d76d75a95ce712027aac1d2ee5281 (diff)
downloadNim-144dc8f8ad209ebcb6591e0adc1bc4cb73528f3a.tar.gz
Move deprecated modules into lib/deprecated/
This gives clear indication what modules are now deprecated and reduce clutter
in non-deprecated module directories.
Diffstat (limited to 'lib/deprecated/core')
-rw-r--r--lib/deprecated/core/unsigned.nim18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/deprecated/core/unsigned.nim b/lib/deprecated/core/unsigned.nim
new file mode 100644
index 000000000..93a29e1c9
--- /dev/null
+++ b/lib/deprecated/core/unsigned.nim
@@ -0,0 +1,18 @@
+#
+#
+#            Nim's Runtime Library
+#        (c) Copyright 2012 Andreas Rumpf
+#
+#    See the file "copying.txt", included in this
+#    distribution, for details about the copyright.
+#
+
+## **Warning:** Since version 0.11.4 this module is deprecated.
+##
+## This module implemented basic arithmetic operators for unsigned integers.
+## These operators are now available in the ``system`` module directly.
+
+{.deprecated.}
+
+export `shr`, `shl`, `and`, `or`, `xor`, `==`, `+`, `-`, `*`, `div`, `mod`,
+  `<=`, `<`