Skip to content
Browse files

Merge remote-tracking branch 'jckarter/master' into remove_syntax

  • Loading branch information...
2 parents f8d59fe + 453ab59 commit 9ee686eeff33af6f5269380bff137ea795ac45d9 agemogolk committed Nov 10, 2012
Showing with 336 additions and 336 deletions.
  1. +1 −1 lib-clay/buffervector/buffervector.clay
  2. +2 −2 lib-clay/cocoa/objc/objc.clay
  3. +3 −3 lib-clay/cocoa/util/util.clay
  4. +3 −3 lib-clay/commandline/dispatch/dispatch.clay
  5. +4 −4 lib-clay/commandline/options/parser.clay
  6. +3 −3 lib-clay/commandline/options/spec.clay
  7. +3 −3 lib-clay/commandline/options/table.clay
  8. +1 −1 lib-clay/commandline/options/util.clay
  9. +1 −1 lib-clay/comparators/comparators.clay
  10. +1 −1 lib-clay/crypto/digest/sha2/sha2.clay
  11. +5 −5 lib-clay/{ → data}/algorithms/algorithms.clay
  12. 0 lib-clay/{ → data}/algorithms/heaps/heaps.clay
  13. +1 −1 lib-clay/{ → data}/algorithms/introsort/introsort.clay
  14. +1 −1 lib-clay/{ → data}/algorithms/permutations/permutations.clay
  15. +2 −2 lib-clay/{ → data}/algorithms/strings/strings.clay
  16. 0 lib-clay/{ → data}/any/any.clay
  17. +2 −2 lib-clay/{ → data}/deques/deques.clay
  18. +1 −1 lib-clay/{ → data}/hashmaps/hashmaps.clay
  19. +2 −2 lib-clay/{ → data}/queues/queues.clay
  20. +1 −1 lib-clay/{ → data}/sequences/force/force.clay
  21. +1 −1 lib-clay/{ → data}/sequences/handle/handle.clay
  22. +1 −1 lib-clay/{ → data}/sequences/lazy/enumerated/enumerated.clay
  23. +3 −3 lib-clay/{ → data}/sequences/lazy/filtered/filtered.clay
  24. +4 −4 lib-clay/{ → data}/sequences/lazy/grouped/grouped.clay
  25. +8 −0 lib-clay/data/sequences/lazy/lazy.clay
  26. +3 −3 lib-clay/{ → data}/sequences/lazy/mapped/mapped.clay
  27. +2 −2 lib-clay/{ → data}/sequences/lazy/reversed/reversed.clay
  28. +3 −3 lib-clay/{ → data}/sequences/lazy/sliced/sliced.clay
  29. +1 −1 lib-clay/{ → data}/sequences/lazy/zipped/zipped.clay
  30. +2 −2 lib-clay/{ → data}/sequences/operators/operators.clay
  31. +4 −4 lib-clay/{ → data}/sequences/sequences.clay
  32. +1 −1 lib-clay/{ → data}/sequences/util/util.clay
  33. 0 lib-clay/{ → data}/strings/encodings/utf8/utf8.clay
  34. +2 −2 lib-clay/{ → data}/strings/strings.clay
  35. 0 lib-clay/{ → data}/vectors/generic/generic.clay
  36. +2 −2 lib-clay/{ → data}/vectors/vectors.clay
  37. +3 −3 lib-clay/hash/hash.clay
  38. +2 −2 lib-clay/io/directories/directories.clay
  39. +1 −1 lib-clay/io/directories/platform/platform.unix.clay
  40. +1 −1 lib-clay/io/directories/platform/platform.windows.clay
  41. +2 −2 lib-clay/io/files/easy/easy.clay
  42. +1 −1 lib-clay/io/files/lines/lines.clay
  43. +1 −1 lib-clay/io/files/raw/platform/platform.unix.clay
  44. +1 −1 lib-clay/io/files/raw/platform/platform.windows.clay
  45. +1 −1 lib-clay/io/filesystem/filesystem.unix.clay
  46. +4 −4 lib-clay/io/paths/paths.unix.clay
  47. +4 −4 lib-clay/io/paths/paths.windows.clay
  48. +2 −2 lib-clay/io/sockets/sockets.clay
  49. +1 −1 lib-clay/io/streams/buffered/buffered.clay
  50. +1 −1 lib-clay/io/streams/bytevector/bytevector.clay
  51. +1 −1 lib-clay/io/streams/protocol/protocol.clay
  52. +2 −2 lib-clay/io/streams/streams.clay
  53. +1 −1 lib-clay/io/temp/platform/platform.unix.clay
  54. +1 −1 lib-clay/io/temp/platform/platform.windows.clay
  55. +2 −2 lib-clay/numbers/parser/parser.clay
  56. +1 −1 lib-clay/opengl/nolookup/nolookup.clay
  57. +1 −1 lib-clay/os/errors/errors.clay
  58. +1 −1 lib-clay/paged/allocator/allocator.clay
  59. +4 −4 lib-clay/paged/namedscalars/namedscalars.clay
  60. +5 −5 lib-clay/paged/namedvectors/namedvectors.clay
  61. +1 −1 lib-clay/paged/strings/strings.clay
  62. +2 −2 lib-clay/paged/vectors/vectors.clay
  63. +1 −1 lib-clay/parsing/combinators/generic/generic.clay
  64. +1 −1 lib-clay/parsing/combinators/strings/strings.clay
  65. +1 −1 lib-clay/printer/formatter/formatter.clay
  66. +2 −2 lib-clay/printer/printer.clay
  67. +4 −4 lib-clay/printer/types/types.clay
  68. +4 −4 lib-clay/remote/marshaling/marshaling.clay
  69. +1 −1 lib-clay/remote/messages/messages.clay
  70. +0 −8 lib-clay/sequences/lazy/lazy.clay
  71. +1 −1 lib-clay/test/fuzz/fuzz.clay
  72. +1 −1 lib-clay/test/memory/memory.clay
  73. +2 −2 lib-clay/test/test.clay
  74. +1 −1 lib-clay/unix/unix.clay
  75. +2 −2 lib-clay/win32/errornames/errornames.clay
  76. +1 −1 lib-clay/win32/win32.clay
  77. +1 −1 test/example/permissive/main.clay
  78. +1 −1 test/example/shootout/insertionsort1/main.clay
  79. +1 −1 test/example/shootout/quicksort2/main.clay
  80. +1 −1 test/lang/codepointers/1/main.clay
  81. +1 −1 test/lang/codepointers/30/main.clay
  82. +1 −1 test/lang/codepointers/31/main.clay
  83. +1 −1 test/lang/codepointers/32/main.clay
  84. +1 −1 test/lang/computedrecords/2/main.clay
  85. +1 −1 test/lang/exceptions/finally/main.clay
  86. +1 −1 test/lang/exceptions/onerror/main.clay
  87. +1 −1 test/lang/exceptions/vectors/main.clay
  88. +1 −1 test/lang/getoverload/main.clay
  89. +3 −3 test/lang/modules/name/main.clay
  90. +4 −4 test/lang/modules/name/out.txt
  91. +1 −1 test/lang/operators/extendedassignment/butnottooextended2/main.clay
  92. +2 −2 test/lang/operators/pod/test.clay
  93. +1 −1 test/lang/pointers/indexing/1/main.clay
  94. +2 −2 test/lang/records/initialization/main.clay
  95. +3 −3 test/lang/staticname/main.clay
  96. +1 −1 test/lang/staticname/out.txt
  97. +2 −2 test/lang/stringliterals/main.clay
  98. +2 −2 test/lang/switch/main.clay
  99. +2 −2 test/lang/switch/strings/main.clay
  100. +1 −1 test/lang/uncategorized/11/main.clay
  101. +1 −1 test/lang/uncategorized/12/main.clay
  102. +1 −1 test/lang/uncategorized/13/main.clay
  103. +1 −1 test/lang/uncategorized/14/main.clay
  104. +1 −1 test/lang/uncategorized/15/main.clay
  105. +2 −2 test/lang/uncategorized/39/main.clay
  106. +2 −2 test/lang/uncategorized/40/main.clay
  107. +1 −1 test/lang/uncategorized/9/main.clay
  108. +1 −1 test/lang/valuesemantics/main.clay
  109. +1 −1 test/lang/variants/1/main.clay
  110. +1 −1 test/lang/variants/2/main.clay
  111. +1 −1 test/lang/variants/3/main.clay
  112. +1 −1 test/lang/variants/4/main.clay
  113. +1 −1 test/lang/variants/equality/main.clay
  114. +1 −1 test/lang/variants/maybe/main.clay
  115. +1 −1 test/lang/variants/recursive/2/main.clay
  116. +2 −2 test/lib-clay/algorithms/count/main.clay
  117. +3 −3 test/lib-clay/algorithms/main.clay
  118. +3 −3 test/lib-clay/algorithms/permutations/test.clay
  119. +2 −2 test/lib-clay/algorithms/sorting/test.clay
  120. +1 −1 test/lib-clay/algorithms/strings/test.clay
  121. +1 −1 test/lib-clay/atomics/casValue/main.clay
  122. +2 −2 test/lib-clay/atomics/normallyUnalignedType/main.clay
  123. +2 −2 test/lib-clay/atomics/normallyUnalignedType2/main.clay
  124. +1 −1 test/lib-clay/atomics/rmw/main.clay
  125. +1 −1 test/lib-clay/cocoa/runtime/main.macosx.clay
  126. +1 −1 test/lib-clay/cocoa/util/test.macosx.clay
  127. +1 −1 test/lib-clay/commandline/1/main.clay
  128. +2 −2 test/lib-clay/commandline/dispatch/main.clay
  129. +2 −2 test/lib-clay/commandline/options/test.clay
  130. +1 −1 test/lib-clay/core/coordinates/main.clay
  131. +1 −1 test/lib-clay/core/memory/allocateArray/main.clay
  132. +1 −1 test/lib-clay/core/memory/copy/main.clay
  133. +1 −1 test/lib-clay/core/stringrefs/test.clay
  134. +2 −2 test/lib-clay/core/values/1/test.clay
  135. +2 −2 test/lib-clay/{ → data}/any/main.clay
  136. 0 test/lib-clay/{ → data}/any/out.txt
  137. 0 test/lib-clay/{deques/memory → data/deques}/buildflags.txt
  138. +3 −3 test/lib-clay/{ → data}/deques/main.clay
  139. 0 test/lib-clay/{deques → data/deques/memory}/buildflags.txt
  140. +1 −1 test/lib-clay/{ → data}/deques/memory/main.clay
  141. 0 test/lib-clay/{ → data}/deques/memory/out.txt
  142. 0 test/lib-clay/{ → data}/deques/out.txt
  143. +4 −4 test/lib-clay/{ → data}/hashmaps/main.clay
  144. 0 test/lib-clay/{ → data}/hashmaps/out.txt
  145. +2 −2 test/lib-clay/{ → data}/hashmaps/rvalueiteration/main.clay
  146. 0 test/lib-clay/{ → data}/hashmaps/rvalueiteration/out.txt
  147. +2 −2 test/lib-clay/{ → data}/hashmaps/valueinitialization/main.clay
  148. 0 test/lib-clay/{ → data}/hashmaps/valueinitialization/out.txt
  149. +3 −3 test/lib-clay/{ → data}/queues/test.clay
  150. +2 −2 test/lib-clay/{ → data}/sequences/1/main.clay
  151. 0 test/lib-clay/{ → data}/sequences/1/out.txt
  152. +2 −2 test/lib-clay/{ → data}/sequences/2/main.clay
  153. 0 test/lib-clay/{ → data}/sequences/2/out.txt
  154. +2 −2 test/lib-clay/{ → data}/sequences/3/main.clay
  155. 0 test/lib-clay/{ → data}/sequences/3/out.txt
  156. +3 −3 test/lib-clay/{ → data}/sequences/4/main.clay
  157. 0 test/lib-clay/{ → data}/sequences/4/out.txt
  158. +2 −2 test/lib-clay/{ → data}/sequences/5/main.clay
  159. 0 test/lib-clay/{ → data}/sequences/5/out.txt
  160. +3 −3 test/lib-clay/{ → data}/sequences/6/main.clay
  161. 0 test/lib-clay/{ → data}/sequences/6/out.txt
  162. +2 −2 test/lib-clay/{ → data}/sequences/7/main.clay
  163. 0 test/lib-clay/{ → data}/sequences/7/out.txt
  164. 0 test/lib-clay/{ → data}/sequences/arrayassignment/main.clay
  165. 0 test/lib-clay/{ → data}/sequences/arrayassignment/out.txt
  166. 0 test/lib-clay/{ → data}/sequences/arrayinitialization/main.clay
  167. 0 test/lib-clay/{ → data}/sequences/arrayinitialization/out.txt
  168. +1 −1 test/lib-clay/{ → data}/sequences/buffervector/main.clay
  169. 0 test/lib-clay/{ → data}/sequences/buffervector/out.txt
  170. +4 −4 test/lib-clay/{ → data}/sequences/concatenation/main.clay
  171. 0 test/lib-clay/{ → data}/sequences/concatenation/out.txt
  172. +3 −3 test/lib-clay/{ → data}/sequences/force/main.clay
  173. 0 test/lib-clay/{sequences/strict → data/sequences/force}/out.txt
  174. +3 −3 test/lib-clay/{ → data}/sequences/group/test.clay
  175. +1 −1 test/lib-clay/{ → data}/sequences/maybe/test.clay
  176. +3 −3 test/lib-clay/{ → data}/sequences/multivalued/main.clay
  177. 0 test/lib-clay/{ → data}/sequences/multivalued/out.txt
  178. 0 test/lib-clay/{ → data}/sequences/operators/test.clay
  179. 0 test/lib-clay/{ → data}/sequences/overloadpriority/test.clay
  180. +1 −1 test/lib-clay/{ → data}/sequences/predicates/main.clay
  181. 0 test/lib-clay/{ → data}/sequences/predicates/out.txt
  182. +2 −2 test/lib-clay/{ → data}/sequences/ranges/main.clay
  183. 0 test/lib-clay/{ → data}/sequences/ranges/out.txt
  184. +1 −1 test/lib-clay/{ → data}/sequences/staticsized/main.clay
  185. 0 test/lib-clay/{ → data}/sequences/staticsized/out.txt
  186. +3 −3 test/lib-clay/{ → data}/sequences/strict/main.clay
  187. 0 test/lib-clay/{sequences/force → data/sequences/strict}/out.txt
  188. +4 −4 test/lib-clay/{ → data}/strings/encodings/utf8/test.clay
  189. +1 −1 test/lib-clay/{ → data}/strings/main.clay
  190. 0 test/lib-clay/{ → data}/strings/out.txt
  191. +2 −2 test/lib-clay/interfaces/main.clay
  192. +2 −2 test/lib-clay/io/directories/test.clay
  193. +2 −2 test/lib-clay/io/paths/platformspecific.unix.clay
  194. +2 −2 test/lib-clay/io/paths/platformspecific.windows.clay
  195. +2 −2 test/lib-clay/io/sockets/addresses/test.clay
  196. +1 −1 test/lib-clay/io/streams/ascollections/test.clay
  197. +1 −1 test/lib-clay/io/streams/buffered/test.clay
  198. +1 −1 test/lib-clay/io/streams/bytevector/test.clay
  199. +1 −1 test/lib-clay/lambdas/basic/main.clay
  200. +1 −1 test/lib-clay/lambdas/dynamic/main.clay
  201. +1 −1 test/lib-clay/lambdas/stateless/main.clay
  202. +3 −3 test/lib-clay/lambdas/vararg/main.clay
  203. +2 −2 test/lib-clay/paged/35/main.clay
  204. +1 −1 test/lib-clay/parsing/calculator/main.clay
  205. +2 −2 test/lib-clay/parsing/combinators/generic/test.clay
  206. +1 −1 test/lib-clay/parsing/combinators/strings/test.clay
  207. +1 −1 test/lib-clay/parsing/main.clay
  208. +2 −2 test/lib-clay/printing/1/test.clay
  209. +2 −2 test/lib-clay/printing/hideioerror/test.clay
  210. +1 −1 test/lib-clay/printing/observe/main.clay
  211. +2 −2 test/lib-clay/printing/repr/test.clay
  212. +2 −2 test/lib-clay/remote/marshaling/test.clay
  213. +1 −1 test/lib-clay/remote/messages/simple/main.clay
  214. +1 −1 test/lib-clay/test/1/main.clay
  215. +1 −1 test/lib-clay/test/fuzz/test.clay
  216. +1 −1 test/lib-clay/test/repr/main.clay
  217. +1 −1 test/lib-clay/threads/condvars/main.clay
  218. +1 −1 test/lib-clay/threads/locks/mutex/main.clay
  219. +1 −1 test/lib-clay/threads/locks/spinlock/main.clay
  220. +1 −1 test/lib-clay/threads/threadlocal/main.unix.clay
  221. +1 −1 test/lib-clay/uniquepointers/main.clay
  222. +1 −1 test/regression/279/main.clay
  223. +5 −5 tools/bindgen.clay
View
2 lib-clay/buffervector/buffervector.clay
@@ -1,4 +1,4 @@
-import vectors.generic.*;
+import data.vectors.generic.*;
import io.streams.protocol.(ByteBuffer?);
import printer.protocol.(printTo);
View
4 lib-clay/cocoa/objc/objc.clay
@@ -7,9 +7,9 @@ public import cocoa.objc.runtime.(
SEL as SelectorHandle,
BOOL, YES, NO, IMP
);
-import algorithms.(log2);
+import data.algorithms.(log2);
import printer.(str);
-import sequences.*;
+import data.sequences.*;
/// @section class, selector, and ivar data
View
6 lib-clay/cocoa/util/util.clay
@@ -4,9 +4,9 @@ import cocoa.nib.*;
import cocoa.foundation.*;
import hash.(hash);
import printer.(printTo, str);
-import strings.(String);
-import sequences.*;
-import vectors.*;
+import data.strings.(String);
+import data.sequences.*;
+import data.vectors.*;
public import cocoa.util.platform.*;
View
6 lib-clay/commandline/dispatch/dispatch.clay
@@ -1,10 +1,10 @@
import printer.(printlnTo);
import io.files.*;
import numbers.parser.*;
-import strings.*;
+import data.strings.*;
import lambdas.*;
-import vectors.*;
-import sequences.*;
+import data.vectors.*;
+import data.sequences.*;
private dispatchCommand() {
var args = commandLine();
View
8 lib-clay/commandline/options/parser.clay
@@ -1,9 +1,9 @@
import commandline.options.spec.*;
import commandline.options.util.*;
-import strings.*;
-import vectors.*;
-import sequences.*;
-import sequences.operators.*;
+import data.strings.*;
+import data.vectors.*;
+import data.sequences.*;
+import data.sequences.operators.*;
record OptionValue(
option : String,
View
6 lib-clay/commandline/options/spec.clay
@@ -1,7 +1,7 @@
import printer.protocol.(printTo);
-import strings.*;
-import vectors.*;
-import sequences.*;
+import data.strings.*;
+import data.vectors.*;
+import data.sequences.*;
record OptionSpec(
names : Vector[String],
View
6 lib-clay/commandline/options/table.clay
@@ -1,9 +1,9 @@
public import commandline.options.spec.*;
import commandline.options.parser.*;
import printer.protocol.(printTo);
-import strings.*;
-import vectors.*;
-import sequences.(sliceFrom);
+import data.strings.*;
+import data.vectors.*;
+import data.sequences.(sliceFrom);
record NoSuchOption(name : String);
View
2 lib-clay/commandline/options/util.clay
@@ -1,4 +1,4 @@
-import vectors.*;
+import data.vectors.*;
record PushbackIterator[S, T](
pending : Vector[S],
View
2 lib-clay/comparators/comparators.clay
@@ -1,4 +1,4 @@
-import sequences.lazy.*;
+import data.sequences.lazy.*;
// A comparator is a type which encapsulates the notion of comparing things.
// It may be used whenever you might want to naturally be able to redefine
View
2 lib-clay/crypto/digest/sha2/sha2.clay
@@ -1,5 +1,5 @@
import byteorder.*;
-import sequences.lazy.*;
+import data.sequences.lazy.*;
public import crypto.digest.*;
import crypto.digest.internal.*;
View
10 lib-clay/algorithms/algorithms.clay → lib-clay/data/algorithms/algorithms.clay
@@ -1,9 +1,9 @@
-import algorithms.heaps as heaps;
-import algorithms.introsort as introsort;
+import data.algorithms.heaps as heaps;
+import data.algorithms.introsort as introsort;
import comparators.(comparing,natural,Comparator?);
-import hashmaps.(HashMap);
-import vectors.*;
-import sequences.lazy.*;
+import data.hashmaps.(HashMap);
+import data.vectors.*;
+import data.sequences.lazy.*;
alias log2 = introsort.log2;
View
0 lib-clay/algorithms/heaps/heaps.clay → lib-clay/data/algorithms/heaps/heaps.clay
File renamed without changes.
View
2 lib-clay/algorithms/introsort/introsort.clay → .../data/algorithms/introsort/introsort.clay
@@ -1,4 +1,4 @@
-import algorithms.heaps.*;
+import data.algorithms.heaps.*;
define introSort;
View
2 ...algorithms/permutations/permutations.clay → ...algorithms/permutations/permutations.clay
@@ -1,4 +1,4 @@
-import algorithms.(sort);
+import data.algorithms.(sort);
eachPermutation(xs, f){
sort(xs);
View
4 lib-clay/algorithms/strings/strings.clay → ...clay/data/algorithms/strings/strings.clay
@@ -1,5 +1,5 @@
-import strings.*;
-import vectors.*;
+import data.strings.*;
+import data.vectors.*;
/// @section trim, trimBegin, trimEnd
View
0 lib-clay/any/any.clay → lib-clay/data/any/any.clay
File renamed without changes.
View
4 lib-clay/deques/deques.clay → lib-clay/data/deques/deques.clay
@@ -1,5 +1,5 @@
-import sequences.handle.*;
-import sequences.*;
+import data.sequences.handle.*;
+import data.sequences.*;
/// @section Deque coordinates
View
2 lib-clay/hashmaps/hashmaps.clay → lib-clay/data/hashmaps/hashmaps.clay
@@ -1,7 +1,7 @@
public import hash.(hash);
import uniquepointers.(UniqueValue,nullUniqueValue);
import printer.(printTo,printReprTo,printReprArgumentsTo);
-import vectors.*;
+import data.vectors.*;
record HashMap[K,V] (
buckets : Vector[NodePtr[K,V]],
View
4 lib-clay/queues/queues.clay → lib-clay/data/queues/queues.clay
@@ -1,5 +1,5 @@
-import algorithms.heaps.*;
-import vectors.*;
+import data.algorithms.heaps.*;
+import data.vectors.*;
record Queue[S] (seq: S);
View
2 lib-clay/sequences/force/force.clay → lib-clay/data/sequences/force/force.clay
@@ -1,4 +1,4 @@
-import vectors.*;
+import data.vectors.*;
/// @section UnderlyingContainerConstructor
View
2 lib-clay/sequences/handle/handle.clay → lib-clay/data/sequences/handle/handle.clay
@@ -1,4 +1,4 @@
-import sequences.force.*;
+import data.sequences.force.*;
/// @section SequenceHandle
View
2 ...sequences/lazy/enumerated/enumerated.clay → ...sequences/lazy/enumerated/enumerated.clay
@@ -1,4 +1,4 @@
-import sequences.lazy.zipped.*;
+import data.sequences.lazy.zipped.*;
define enumerated;
define enumeratedAs;
View
6 ...lay/sequences/lazy/filtered/filtered.clay → ...ata/sequences/lazy/filtered/filtered.clay
@@ -1,6 +1,6 @@
-import sequences.force.*;
-import sequences.util.*;
-import sequences.lazy.zipped.*;
+import data.sequences.force.*;
+import data.sequences.util.*;
+import data.sequences.lazy.zipped.*;
/// @section filtered
View
8 lib-clay/sequences/lazy/grouped/grouped.clay → .../data/sequences/lazy/grouped/grouped.clay
@@ -1,7 +1,7 @@
-import sequences.util.*;
-import vectors.*;
-import sequences.lazy.sliced.*;
-import sequences.force.*;
+import data.sequences.util.*;
+import data.vectors.*;
+import data.sequences.lazy.sliced.*;
+import data.sequences.force.*;
/// @section grouped() function
private record Group[S] (
View
8 lib-clay/data/sequences/lazy/lazy.clay
@@ -0,0 +1,8 @@
+
+public import data.sequences.lazy.zipped.*;
+public import data.sequences.lazy.mapped.*;
+public import data.sequences.lazy.filtered.*;
+public import data.sequences.lazy.enumerated.*;
+public import data.sequences.lazy.reversed.*;
+public import data.sequences.lazy.sliced.*;
+public import data.sequences.lazy.grouped.*;
View
6 lib-clay/sequences/lazy/mapped/mapped.clay → ...ay/data/sequences/lazy/mapped/mapped.clay
@@ -1,7 +1,7 @@
-import sequences.util.*;
-import sequences.lazy.zipped.*;
-import sequences.force.*;
+import data.sequences.util.*;
+import data.sequences.lazy.zipped.*;
+import data.sequences.force.*;
/// @section mapped
View
4 ...lay/sequences/lazy/reversed/reversed.clay → ...ata/sequences/lazy/reversed/reversed.clay
@@ -1,6 +1,6 @@
-import sequences.util.*;
-import sequences.force.*;
+import data.sequences.util.*;
+import data.sequences.force.*;
/// @section reversed
View
6 lib-clay/sequences/lazy/sliced/sliced.clay → ...ay/data/sequences/lazy/sliced/sliced.clay
@@ -1,7 +1,7 @@
-import sequences.util.*;
-import sequences.handle.*;
-import sequences.force.*;
+import data.sequences.util.*;
+import data.sequences.handle.*;
+import data.sequences.force.*;
View
2 lib-clay/sequences/lazy/zipped/zipped.clay → ...ay/data/sequences/lazy/zipped/zipped.clay
@@ -1,5 +1,5 @@
-import sequences.util.*;
+import data.sequences.util.*;
/// @section zipped
View
4 lib-clay/sequences/operators/operators.clay → ...y/data/sequences/operators/operators.clay
@@ -1,6 +1,6 @@
-import vectors.*;
+import data.vectors.*;
import core.numbers.(private BiggerNumeric?);
-import sequences.lazy.(enumerated);
+import data.sequences.lazy.(enumerated);
/// @section prefixOperator, infixOperator, updateAssign
View
8 lib-clay/sequences/sequences.clay → lib-clay/data/sequences/sequences.clay
@@ -1,8 +1,8 @@
-public import sequences.force.*;
-public import sequences.lazy.*;
-public import sequences.operators.*;
-import vectors.*;
+public import data.sequences.force.*;
+public import data.sequences.lazy.*;
+public import data.sequences.operators.*;
+import data.vectors.*;
//
View
2 lib-clay/sequences/util/util.clay → lib-clay/data/sequences/util/util.clay
@@ -1,5 +1,5 @@
-import sequences.handle.*;
+import data.sequences.handle.*;
View
0 lib-clay/strings/encodings/utf8/utf8.clay → ...lay/data/strings/encodings/utf8/utf8.clay
File renamed without changes.
View
4 lib-clay/strings/strings.clay → lib-clay/data/strings/strings.clay
@@ -1,5 +1,5 @@
-import vectors.*;
-import sequences.lazy.mapped.*;
+import data.vectors.*;
+import data.sequences.lazy.mapped.*;
View
0 lib-clay/vectors/generic/generic.clay → lib-clay/data/vectors/generic/generic.clay
File renamed without changes.
View
4 lib-clay/vectors/vectors.clay → lib-clay/data/vectors/vectors.clay
@@ -1,6 +1,6 @@
-import vectors.generic.*;
-public import vectors.generic.(Vector?);
+import data.vectors.generic.*;
+public import data.vectors.generic.(Vector?);
/// @module vector
/// vector implementation
View
6 lib-clay/hash/hash.clay
@@ -1,11 +1,11 @@
-import vectors.generic.*;
+import data.vectors.generic.*;
import numbers.floats.(floatBits);
import referencetypes.(ReferenceType?);
import sharedpointers.*;
-import strings.*;
+import data.strings.*;
import complex.*;
-import vectors.*;
+import data.vectors.*;
/// @section hashing
View
4 lib-clay/io/directories/directories.clay
@@ -1,5 +1,5 @@
-import vectors.(Vector);
-import strings.(String);
+import data.vectors.(Vector);
+import data.strings.(String);
import io.directories.platform.*;
View
2 lib-clay/io/directories/platform/platform.unix.clay
@@ -1,6 +1,6 @@
import io.errors.*;
import unix.(opendir, readdir_r, closedir, DIR, Struct_dirent, errno, rmdir, mkdir, mode_t);
-import strings.*;
+import data.strings.*;
import io.directories.common.*;
View
2 lib-clay/io/directories/platform/platform.windows.clay
@@ -1,6 +1,6 @@
import win32.*;
-import strings.*;
+import data.strings.*;
import io.errors.*;
import io.directories.common.*;
View
4 lib-clay/io/files/easy/easy.clay
@@ -4,8 +4,8 @@ import io.files.api.*;
import io.streams.*;
import io.streams.buffered.*;
import sharedpointers.*;
-import strings.*;
-import algorithms.(in?);
+import data.strings.*;
+import data.algorithms.(in?);
/// @section File
View
2 lib-clay/io/files/lines/lines.clay
@@ -1,6 +1,6 @@
import io.files.easy.*;
import io.streams.(readLine);
-import strings.*;
+import data.strings.*;
/// @section lines
View
2 lib-clay/io/files/raw/platform/platform.unix.clay
@@ -2,7 +2,7 @@ import unix;
import io.errors.*;
import io.files.api.*;
import io.streams.*;
-import strings.*;
+import data.strings.*;
/// @section RawFile
View
2 lib-clay/io/files/raw/platform/platform.windows.clay
@@ -2,7 +2,7 @@ import win32;
import io.errors.*;
import io.files.api.*;
import io.streams.*;
-import strings.*;
+import data.strings.*;
/// @section RawFile
View
2 lib-clay/io/filesystem/filesystem.unix.clay
@@ -1,7 +1,7 @@
import unix.*;
import io.errors.*;
public import io.filesystem.executable.*;
-import strings.*;
+import data.strings.*;
import libc;
readLink(x) {
View
8 lib-clay/io/paths/paths.unix.clay
@@ -2,10 +2,10 @@
import unix;
import libc;
import io.errors.*;
-import algorithms.(reverseFind,reverseFindIf,reverseInPlace,beginsWith?,endsWith?);
-import strings.*;
-import vectors.*;
-import sequences.*;
+import data.algorithms.(reverseFind,reverseFindIf,reverseInPlace,beginsWith?,endsWith?);
+import data.strings.*;
+import data.vectors.*;
+import data.sequences.*;
View
8 lib-clay/io/paths/paths.windows.clay
@@ -1,10 +1,10 @@
import win32;
import io.errors.*;
-import algorithms.(findIf,reverseFindIf,reverseInPlace,beginsWith?);
-import strings.*;
-import vectors.*;
-import sequences.*;
+import data.algorithms.(findIf,reverseFindIf,reverseInPlace,beginsWith?);
+import data.strings.*;
+import data.vectors.*;
+import data.sequences.*;
/// @section separators
View
4 lib-clay/io/sockets/sockets.clay
@@ -4,9 +4,9 @@ import byteorder.*;
import printer.(printTo,printReprTo);
import io.files.*;
import io.streams.*;
-import strings.*;
+import data.strings.*;
import libc;
-import sequences.*;
+import data.sequences.*;
public import io.sockets.platform.(
Sockaddr, Sockaddr_in, Sockaddr_storage,
View
2 lib-clay/io/streams/buffered/buffered.clay
@@ -1,4 +1,4 @@
-import algorithms.(in?);
+import data.algorithms.(in?);
import io.streams.memory.*;
View
2 lib-clay/io/streams/bytevector/bytevector.clay
@@ -1,4 +1,4 @@
-import vectors.*;
+import data.vectors.*;
public import io.streams.protocol.*;
View
2 lib-clay/io/streams/protocol/protocol.clay
@@ -1,4 +1,4 @@
-import vectors.*;
+import data.vectors.*;
/// @section readBytes, writeBytes, flush - byte stream operations
View
4 lib-clay/io/streams/streams.clay
@@ -2,8 +2,8 @@
public import io.streams.protocol.*;
public import io.errors.*;
import buffervector.*;
-import strings.*;
-import vectors.*;
+import data.strings.*;
+import data.vectors.*;
public import io.streams.bytevector.*;
View
2 lib-clay/io/temp/platform/platform.unix.clay
@@ -1,5 +1,5 @@
import libc;
-import strings.(String);
+import data.strings.(String);
tempDirectory() {
var r = libc.getenv(cstring("TMPDIR"));
View
2 lib-clay/io/temp/platform/platform.windows.clay
@@ -1,5 +1,5 @@
import win32.(GetTempPathA, LPTSTR, DWORD, GetLastError);
-import strings.(String);
+import data.strings.(String);
import io.errors.(GenericIOError);
// from http://msdn.microsoft.com/en-us/library/windows/desktop/aa364992%28v=vs.85%29.aspx
View
4 lib-clay/numbers/parser/parser.clay
@@ -2,9 +2,9 @@
import numbers.parser.errno.*;
import printer.(error);
import printer.formatter.(repr);
-import strings.*;
+import data.strings.*;
import libc;
-import sequences.*;
+import data.sequences.*;
View
2 lib-clay/opengl/nolookup/nolookup.clay
@@ -2,7 +2,7 @@ public import opengl.types.*;
public import opengl.enums.*;
import opengl.platform.*;
import opengl.nolookup as self;
-import sequences.*;
+import data.sequences.*;
initGLFunctions(x) { }
overload initGLFunctions() { }
View
2 lib-clay/os/errors/errors.clay
@@ -1,6 +1,6 @@
import os.errors.platform as platform;
import printer.protocol.(printTo,printReprTo);
-import strings.*;
+import data.strings.*;
record GenericOSError(code:Int, where:StringLiteralRef);
View
2 lib-clay/paged/allocator/allocator.clay
@@ -2,7 +2,7 @@ import io.mapping.*;
import io.paths.*;
import paged.misc.*;
import io.files.*;
-import strings.*;
+import data.strings.*;
/// @section paged allocator global state
View
8 lib-clay/paged/namedscalars/namedscalars.clay
@@ -1,6 +1,6 @@
import paged.misc.*;
-import strings;
+import data.strings;
import io.mapping.*;
import io.paths.*;
import io.files.*;
@@ -9,7 +9,7 @@ import io.files.*;
/// @section NamedScalar[T]
record NamedScalar[T] (
- fileName : strings.String,
+ fileName : data.strings.String,
file : File,
mapping : FileMapping,
);
@@ -26,7 +26,7 @@ overload NamedScalar[T](fileName:S, initial:T) {
if (pathExists?(fileName)) {
var f = File(fileName, READ_WRITE);
var mapping = FileMapping(f, MAP_READ_WRITE);
- return NamedScalar[T](strings.String(fileName), f, mapping);
+ return NamedScalar[T](data.strings.String(fileName), f, mapping);
}
else {
var f = File(fileName, CREATE);
@@ -35,7 +35,7 @@ overload NamedScalar[T](fileName:S, initial:T) {
var mapping = FileMapping(f, MAP_READ_WRITE);
var ptr = Pointer[T](mappingAddress(mapping));
ptr^ <-- initial;
- return NamedScalar[T](strings.String(fileName), f, mapping);
+ return NamedScalar[T](data.strings.String(fileName), f, mapping);
}
}
View
10 lib-clay/paged/namedvectors/namedvectors.clay
@@ -1,7 +1,7 @@
import paged.misc.*;
-import vectors.generic.*;
-import strings;
+import data.vectors.generic.*;
+import data.strings;
import io.mapping.*;
import io.paths.*;
import io.files.*;
@@ -10,7 +10,7 @@ import io.files.*;
/// @section NamedVector[T]
record NamedVector[T] (
- fileName : strings.String,
+ fileName : data.strings.String,
file : File,
mapping : FileMapping,
header : Pointer[Header],
@@ -47,7 +47,7 @@ overload NamedVector[T](fileName:S) {
var mapping = FileMapping(f, MAP_READ_WRITE);
var header = Pointer[Header](mappingAddress(mapping));
var data = Pointer[T](mappingAddress(mapping) + headerSpace());
- return NamedVector[T](strings.String(fileName), f, mapping, header, data);
+ return NamedVector[T](data.strings.String(fileName), f, mapping, header, data);
}
else {
var f = File(fileName, CREATE);
@@ -60,7 +60,7 @@ overload NamedVector[T](fileName:S) {
var data = Pointer[T](mappingAddress(mapping) + headerSpace());
header^.size = size;
header^.capacity = capacity;
- return NamedVector[T](strings.String(fileName), f, mapping, header, data);
+ return NamedVector[T](data.strings.String(fileName), f, mapping, header, data);
}
}
View
2 lib-clay/paged/strings/strings.clay
@@ -1,6 +1,6 @@
import paged.vectors.*;
-import strings;
+import data.strings;
View
4 lib-clay/paged/vectors/vectors.clay
@@ -1,7 +1,7 @@
import paged.allocator.*;
-import vectors.generic.*;
-import sequences.lazy.*;
+import data.vectors.generic.*;
+import data.sequences.lazy.*;
/// @section Vector[T]
View
2 lib-clay/parsing/combinators/generic/generic.clay
@@ -1,4 +1,4 @@
-import vectors.*;
+import data.vectors.*;
/// @section TokenInput?, TokenType
View
2 lib-clay/parsing/combinators/strings/strings.clay
@@ -1,6 +1,6 @@
import parsing.combinators.wrapper.*;
-import strings.*;
+import data.strings.*;
private var combinators = Combinators[Type(iterator(String()))]();
View
2 lib-clay/printer/formatter/formatter.clay
@@ -1,6 +1,6 @@
import printer.*;
import printer.platform.*;
-import strings.*;
+import data.strings.*;
/// @section Formatter types
View
4 lib-clay/printer/printer.clay
@@ -10,8 +10,8 @@ import io.files.raw.(stderrRawFile,stdoutRawFile);
import io.streams.(write,flush);
import libc;
-import vectors.(moveVectorBuffer);
-import strings.(String);
+import data.vectors.(moveVectorBuffer);
+import data.strings.(String);
import printer.exceptions as unused;
View
8 lib-clay/printer/types/types.clay
@@ -8,10 +8,10 @@ import printer.platform.(
formatForPartialInt128,
);
import numbers.floats.(nan, nan?);
-import strings.*;
-import strings.encodings.utf8.*;
-import vectors.*;
-import sequences.(interleave);
+import data.strings.*;
+import data.strings.encodings.utf8.*;
+import data.vectors.*;
+import data.sequences.(interleave);
import simd.(unpackVec);
View
8 lib-clay/remote/marshaling/marshaling.clay
@@ -1,9 +1,9 @@
-import hashmaps.(HashMap);
-import algorithms.(reduce);
+import data.hashmaps.(HashMap);
+import data.algorithms.(reduce);
import uniquepointers.(UniquePointer,nullUnique);
import sharedpointers.*;
-import vectors.*;
-import sequences.*;
+import data.vectors.*;
+import data.sequences.*;
//
View
2 lib-clay/remote/messages/messages.clay
@@ -1,7 +1,7 @@
import remote.marshaling.*;
import io.streams.*;
import io.files.*;
-import vectors.*;
+import data.vectors.*;
private readMarshalSize(stream) --> returned: MarshalSize {
readN(stream, Pointer[Byte](@returned), TypeSize(MarshalSize));
View
8 lib-clay/sequences/lazy/lazy.clay
@@ -1,8 +0,0 @@
-
-public import sequences.lazy.zipped.*;
-public import sequences.lazy.mapped.*;
-public import sequences.lazy.filtered.*;
-public import sequences.lazy.enumerated.*;
-public import sequences.lazy.reversed.*;
-public import sequences.lazy.sliced.*;
-public import sequences.lazy.grouped.*;
View
2 lib-clay/test/fuzz/fuzz.clay
@@ -2,7 +2,7 @@ import test.(passed, failed, printFailure, TEST_FAILURE_INDENT);
import printer.(println, str, printlnTo);
import printer.formatter.(repr);
import random.(RNG?, XORShiftRNG, generate, uniform);
-import vectors.(Vector);
+import data.vectors.(Vector);
// protocol for generating arbitrary values of a type
View
2 lib-clay/test/memory/memory.clay
@@ -1,6 +1,6 @@
import test.(expect, printFailure);
import printer.(println, str);
-import vectors.*;
+import data.vectors.*;
alias UNINITIALIZED_CANARY = Greatest(SizeT);
alias NOISY_CANARIES = Flag?("test.memory.NoisyCanaries");
View
4 lib-clay/test/test.clay
@@ -3,9 +3,9 @@ import console.color.*;
import printer.(println,print,str);
import io.streams.*;
import io.files.*;
-import strings.*;
+import data.strings.*;
import lambdas.*;
-import vectors.*;
+import data.vectors.*;
import printer.formatter.(repr);
record TestStatus (
View
2 lib-clay/unix/unix.clay
@@ -8,7 +8,7 @@ import unix.generated as generated;
import unix.errnonames.(errnoNames);
import printer.protocol.(printTo);
import libc;
-import sequences.lazy.mapped.*;
+import data.sequences.lazy.mapped.*;
printErrorMessageTo(stream, errorCode) {
printTo(stream, CStringRef(libc.strerror(errorCode)));
View
4 lib-clay/win32/errornames/errornames.clay
@@ -1,5 +1,5 @@
-import vectors.*;
-import sequences.lazy.mapped.*;
+import data.vectors.*;
+import data.sequences.lazy.mapped.*;
errorNames() {
// FIXME: make errorNamesVector thread local or use a lock to initialize
View
2 lib-clay/win32/win32.clay
@@ -4,7 +4,7 @@ public import win32.constants.*;
public import win32.errorcodes.*;
public import win32.platform.*;
import win32.errornames.(errorNames);
-import sequences.lazy.mapped.*;
+import data.sequences.lazy.mapped.*;
/// @section GetFileSizeEx, SetFilePointerEx
View
2 test/example/permissive/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import strings.*;
+import data.strings.*;
//
View
2 test/example/shootout/insertionsort1/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import vectors.*;
+import data.vectors.*;
insertionSort(a) {
var i = 1;
View
2 test/example/shootout/quicksort2/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import vectors.*;
+import data.vectors.*;
quickSort(a) {
sortRange(begin(a), end(a));
View
2 test/lang/codepointers/1/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import vectors.*;
+import data.vectors.*;
showCPType(callable, ..argTypes) {
var cp = makeCodePointer(callable, ..argTypes);
View
2 test/lang/codepointers/30/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import vectors.*;
+import data.vectors.*;
//
// Opaque
View
2 test/lang/codepointers/31/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import vectors.*;
+import data.vectors.*;
//
// Opaque
View
2 test/lang/codepointers/32/main.clay
@@ -1,5 +1,5 @@
import printer.(print,println);
-import vectors.*;
+import data.vectors.*;
//
// Opaque
View
2 test/lang/computedrecords/2/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import vectors.*;
+import data.vectors.*;
//
View
2 test/lang/exceptions/finally/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import strings.*;
+import data.strings.*;
instance Exception (Int);
View
2 test/lang/exceptions/onerror/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import strings.*;
+import data.strings.*;
instance Exception (Int);
View
2 test/lang/exceptions/vectors/main.clay
@@ -1,5 +1,5 @@
import printer.(error, println);
-import vectors.*;
+import data.vectors.*;
var _countdown = 7;
View
2 test/lang/getoverload/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import strings.*;
+import data.strings.*;
define foo;
overload foo(x:Int) {
View
6 test/lang/modules/name/main.clay
@@ -1,8 +1,8 @@
import printer.(println);
-import vectors.generic as vg;
+import data.vectors.generic as vg;
import hash;
-import hashmaps.*;
-import strings.*;
+import data.hashmaps.*;
+import data.strings.*;
main() {
disp(add);
View
8 test/lang/modules/name/out.txt
@@ -1,11 +1,11 @@
+: core.operators
-String: vectors
+String: data.vectors
Vec: __primitives__
hash: hash
Array: __primitives__
Array[Bool, 10]: __primitives__
-HashMap: hashmaps
-HashMap[Int32, Int32]: hashmaps
-vectors.generic: vectors.generic
+HashMap: data.hashmaps
+HashMap[Int32, Int32]: data.hashmaps
+data.vectors.generic: data.vectors.generic
Record?: __primitives__
disp: __main__
View
2 test/lang/operators/extendedassignment/butnottooextended2/main.clay
@@ -1,4 +1,4 @@
-import vectors.*;
+import data.vectors.*;
main() {
Vector[Int]() = Vector[Int]();
View
4 test/lang/operators/pod/test.clay
@@ -2,8 +2,8 @@ import test.*;
import uniquepointers.(UniquePointer);
import sharedpointers.*;
import simd.*;
-import strings.*;
-import vectors.*;
+import data.strings.*;
+import data.vectors.*;
record IrregularRecord ();
overload RegularRecord?(#IrregularRecord) = false;
View
2 test/lang/pointers/indexing/1/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import vectors.*;
+import data.vectors.*;
main() {
var v = Vector(range(256));
var p = begin(v);
View
4 test/lang/records/initialization/main.clay
@@ -1,6 +1,6 @@
import printer.(println);
-import strings.*;
-import sequences.operators.*;
+import data.strings.*;
+import data.sequences.operators.*;
record Foo (
a: Int,
View
6 test/lang/staticname/main.clay
@@ -1,9 +1,9 @@
-import vectors.generic
+import data.vectors.generic
as vg;
-import hashmaps.*;
+import data.hashmaps.*;
import printer.(println);
-import strings.*;
+import data.strings.*;
main() {
disp(add);
View
2 test/lang/staticname/out.txt
@@ -6,6 +6,6 @@ Array: Array
Array[Bool, 10]: Array[Bool, 10]
HashMap: HashMap
HashMap[Int32, Int32]: HashMap[Int32, Int32]
-vectors.generic: vectors.generic
+data.vectors.generic: data.vectors.generic
Record?: Record?
disp: disp
View
4 test/lang/stringliterals/main.clay
@@ -1,6 +1,6 @@
import printer.(println);
-import strings.*;
-import sequences.operators.*;
+import data.strings.*;
+import data.sequences.operators.*;
test(a) {
println(a);
View
4 test/lang/switch/main.clay
@@ -1,6 +1,6 @@
import printer.(println);
-import sequences.*;
-import vectors.*;
+import data.sequences.*;
+import data.vectors.*;
f(n) {
switch (n)
View
4 test/lang/switch/strings/main.clay
@@ -1,6 +1,6 @@
import printer.(print,println);
-import strings.*;
-import sequences.*;
+import data.strings.*;
+import data.sequences.*;
test(s) {
print(s, "... ");
View
2 test/lang/uncategorized/11/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import vectors.*;
+import data.vectors.*;
record Multiplier[N] (
factor:N
View
2 test/lang/uncategorized/12/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import vectors.*;
+import data.vectors.*;
map(f, a) {
alias ResultType = Type(f(a[0]));
View
2 test/lang/uncategorized/13/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import vectors.*;
+import data.vectors.*;
map(f, a) {
alias ResultType = Type(f(a[0]));
View
2 test/lang/uncategorized/14/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import vectors.*;
+import data.vectors.*;
foreach(f, a) {
for (x in a)
View
2 test/lang/uncategorized/15/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import vectors.*;
+import data.vectors.*;
map(f, a) {
alias ResultType = Type(f(a[0]));
View
4 test/lang/uncategorized/39/main.clay
@@ -1,8 +1,8 @@
import printer.(print);
import io.files.(File,lines);
import io.files;
-import strings.*;
-import vectors.*;
+import data.strings.*;
+import data.vectors.*;
main() {
{
View
4 test/lang/uncategorized/40/main.clay
@@ -1,6 +1,6 @@
import printer.(println,printTo);
-import strings.*;
-import vectors.*;
+import data.strings.*;
+import data.vectors.*;
main() {
var a = Vector[Char]();
View
2 test/lang/uncategorized/9/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import vectors.*;
+import data.vectors.*;
main() {
var v = Vector[Int](1, 2, 3, 4, 5);
View
2 test/lang/valuesemantics/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import vectors.*;
+import data.vectors.*;
var _nextId = 0;
View
2 test/lang/variants/1/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import vectors.*;
+import data.vectors.*;
record Square (
side : Double
View
2 test/lang/variants/2/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import vectors.*;
+import data.vectors.*;
record Square (
side : Double
View
2 test/lang/variants/3/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import vectors.*;
+import data.vectors.*;
record Human ();
View
2 test/lang/variants/4/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import vectors.*;
+import data.vectors.*;
record Human ();
View
2 test/lang/variants/equality/main.clay
@@ -1,5 +1,5 @@
import printer.(println,print);
-import vectors.*;
+import data.vectors.*;
record Square (
side : Double
View
2 test/lang/variants/maybe/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import vectors.*;
+import data.vectors.*;
doIt(x) {
println("done! x = ", x);
View
2 test/lang/variants/recursive/2/main.clay
@@ -1,7 +1,7 @@
// #228
// thanks to freenode:maw
import printer.(println);
-import vectors.*;
+import data.vectors.*;
variant Node (Tree, Int);
record Tree (nodes : Vector[Node]);
View
4 test/lib-clay/algorithms/count/main.clay
@@ -1,6 +1,6 @@
-import algorithms.(count);
+import data.algorithms.(count);
import printer.(println);
-import vectors.*;
+import data.vectors.*;
main() {
var v = Vector[Int](1, 2, 3, 4, 5);
View
6 test/lib-clay/algorithms/main.clay
@@ -1,7 +1,7 @@
-import algorithms.(find,endsWith?,beginsWith?,split,concat,join);
+import data.algorithms.(find,endsWith?,beginsWith?,split,concat,join);
import printer.(println);
-import strings.*;
-import sequences.*;
+import data.strings.*;
+import data.sequences.*;
main() {
var a = array("", "foo", "foobar", "afoobarfoo");
View
6 test/lib-clay/algorithms/permutations/test.clay
@@ -1,8 +1,8 @@
import test.*;
-import algorithms.permutations.*;
+import data.algorithms.permutations.*;
import printer.(str);
-import sequences.*;
-import vectors.*;
+import data.sequences.*;
+import data.vectors.*;
fact(n){
var result = 1;
View
4 test/lib-clay/algorithms/sorting/test.clay
@@ -1,8 +1,8 @@
import test.*;
-import algorithms.(sort,sortBy);
+import data.algorithms.(sort,sortBy);
import comparators.(comparing,reversed);
import printer.(str);
-import vectors.*;
+import data.vectors.*;
record Unordered[T](value : T);
View
2 test/lib-clay/algorithms/strings/test.clay
@@ -1,5 +1,5 @@
import test.*;
-import algorithms.strings.(trim);
+import data.algorithms.strings.(trim);
main() = testMain(
TestSuite(
View
2 test/lib-clay/atomics/casValue/main.clay
@@ -1,6 +1,6 @@
import atomics.(Atomic, casValue, load);
import printer.(println);
-import sequences.(map);
+import data.sequences.(map);
import threads.(startThread, joinThread);
var counter = Atomic(0u);
View
4 test/lib-clay/atomics/normallyUnalignedType/main.clay
@@ -1,7 +1,7 @@
import atomics.(Atomic, casValue, load);
import printer.*;
-import sequences.(map);
-import strings.(String);
+import data.sequences.(map);
+import data.strings.(String);
import threads.(startThread, joinThread);
var counters = Atomic(Array[UInt8, 3](0uss, 0uss, 0uss));
View
4 test/lib-clay/atomics/normallyUnalignedType2/main.clay
@@ -1,7 +1,7 @@
import atomics.(Atomic, casValue, load);
import printer.*;
-import sequences.(map);
-import strings.(String);
+import data.sequences.(map);
+import data.strings.(String);
import threads.(startThread, joinThread);
var counters = Atomic(Array[UInt8, 4](0uss, 0uss, 0uss, 0uss));
View
2 test/lib-clay/atomics/rmw/main.clay
@@ -1,6 +1,6 @@
import atomics.(Atomic, rmw, load);
import printer.(println);
-import sequences.(map);
+import data.sequences.(map);
import threads.(startThread, joinThread);
var counter = Atomic(0u);
View
2 test/lib-clay/cocoa/runtime/main.macosx.clay
@@ -1,6 +1,6 @@
import printer.(println);
import cocoa.objc.runtime.*;
-import strings.*;
+import data.strings.*;
NSString(string) {
var class = objc_getClass(cstring("NSString"));
View
2 test/lib-clay/cocoa/util/test.macosx.clay
@@ -4,7 +4,7 @@ import hash.(hash);
import printer.(str);
import test.*;
import test.memory.*;
-import strings.(String);
+import data.strings.(String);
record Foo (x: Int64, y: Double);
[I when Integer?(I) and I != Int64]
View
2 test/lib-clay/commandline/1/main.clay
@@ -1,5 +1,5 @@
import printer.(println);
-import sequences.*;
+import data.sequences.*;
main() {
for (i, x in enumerated(commandLine()))
View
4 test/lib-clay/commandline/dispatch/main.clay
@@ -1,8 +1,8 @@
import commandline.dispatch.*;
-import algorithms.(reduce);
+import data.algorithms.(reduce);
import printer.(println,printlnTo);
import io.files.*;
-import sequences.*;
+import data.sequences.*;
import numbers.parser.*;