Commit Graph
742 Commits
Author SHA1 Message Date
Joseph Wilk 1be0a5329b formatting tweaks 2013-06-29 23:21:00 +02:00
Joseph Wilk 73fdf7442b Corrected definition of difference.
Set 1 minus Set 2 members.
2013-06-29 23:21:00 +02:00
Joseph Wilk 5598eb68d0 difference and intersection support for nodes.
Though not very efficient for nodes.
2013-06-29 23:21:00 +02:00
josephwilk 9b01bae463 nodes also don't contain duplicates 2013-06-29 23:20:59 +02:00
josephwilk ca4997e7f4 delete works with nodes 2013-06-29 23:20:59 +02:00
josephwilk 4c1ee4e261 union works with nodes 2013-06-29 23:20:59 +02:00
josephwilk cacb7d5997 member? for sets works with nodes 2013-06-29 23:20:59 +02:00
josephwilk 4b502985d4 Support expanding depth of nodes.
There is a lot of CRAZY resizing logic that is copied from HashDict. Once everything is working consider extracting.
2013-06-29 23:20:59 +02:00
josephwilk 48ecb7d6f0 put supports growing into a trie.
* to_list works with trie
2013-06-29 23:20:59 +02:00
josephwilk 023866b2b0 Adding set member? for buckets 2013-06-29 23:20:59 +02:00
josephwilk 72c3432042 Adding set difference for buckets 2013-06-29 23:20:59 +02:00
josephwilk d7facd11df Adding set intersection for buckets 2013-06-29 23:20:59 +02:00
josephwilk 76b8b9f3a9 Adding set union 2013-06-29 23:20:59 +02:00
Joseph Wilk 276eee072d delete from a set 2013-06-29 23:20:58 +02:00
josephwilk 37621d4a07 Adding Set with simple ops just for bucket (small sets) 2013-06-29 23:20:58 +02:00
José Valim c832d3a78e Import records that depends on others, closes #1334 2013-06-29 13:11:50 +02:00
Tom Janssens ea32d951ab Skip symlink tests on windows 2013-06-28 15:45:42 +02:00
José Valim 447a57750f Simplify binding handling 2013-06-27 17:47:45 +02:00
José Valim 7ba5733496 No need to wrap lists in blocks 2013-06-26 21:53:33 +02:00
José Valim 25862cb7a3 Ensure variables from when in match? do not leak too 2013-06-25 08:58:19 +02:00
José Valim 7e11cea780 Ensure binding(..., false) also works 2013-06-24 16:24:08 +02:00
Tom Janssens a8b7663f37 Skip windows test for CHMOD 777, as this does not work on windows 2013-06-24 13:17:28 +02:00
Tom Janssens 3b6afdd7d4 Cleaned up test_helper some more 2013-06-24 12:47:30 +02:00
José Valim 943fabb548 Merge pull request #1322 from ToJans/master
Tests on windows now intercept stderr from elixir(c) invocations
2013-06-24 03:35:27 -07:00
Tom Janssens 53f5fe71bb Cleaned up the elixir test_helper.exs a bit 2013-06-24 12:33:12 +02:00
Tom Janssens c406ce4aac Grouped some windows functionality in test_helper for elixir 2013-06-24 12:16:38 +02:00
Tom Janssens 4b4a7e8d4a Tests on windows now intercept stderr from elixir(c) invocations
Previously tests on windows did not intercept stderr when they were
invoked through :os.cmd, so we now add a piper redirect from stderr
to stdout when invoking elixir(c) on windows.
2013-06-24 12:04:46 +02:00
José Valim 5a882161ac Allow a record to import itself, closes #1319 2013-06-24 07:51:21 +02:00
Guillermo Iguaran d5e2b41c37 Add Enum.reject
Enum.reject returns elements of collection for which `fun` returns false.
2013-06-24 00:26:52 -05:00
José Valim c6284557e7 Rename sigils from __ to sigil_$, closes #1301 2013-06-23 20:38:37 +02:00
José Valim a8a2f86a23 Record type should be private by default, closes #1288 2013-06-23 20:20:47 +02:00
José Valim 96a103d222 Allow :binding as an option in quote
This commit also adds Macro.expand_once/2 and Macro.expand_all/2.
2013-06-23 19:23:32 +02:00
José Valim f525f5b8cb Add unquote: true support to Macro.escape 2013-06-23 16:32:07 +02:00
José Valim 903aa60fec Finish operator table clean up 2013-06-23 13:18:25 +02:00
José Valim 969bc968ee Move ++, --, ** and // to new table 2013-06-23 13:18:25 +02:00
José Valim 8d3475825b Group arrow-like ops together 2013-06-23 13:18:25 +02:00
José Valim 68c890e179 Move and and or operators to the new table 2013-06-23 13:18:25 +02:00
José Valim dd573c9806 Initial work cleaning up op table 2013-06-23 13:18:25 +02:00
José Valim 151695b43c Add tests for nested whens 2013-06-22 18:53:18 +02:00
José Valim 2d8259b432 Support (x, y) when z, closes #1313 2013-06-22 18:53:18 +02:00
José Valim ae03e10db5 Merge pull request #1300 from jdrexler/issue-1285
Added chgrp!, chown!, and chmod! to module File
2013-06-22 05:10:43 -07:00
José Valim da0a95695d Allow types to be given to defrecordp
Part of #1288
2013-06-22 13:15:00 +02:00
Johannes Drexler 5df40f7c42 Added functions for changing mode, owner and group to module File 2013-06-21 21:07:05 +02:00
José Valim 391fee3ea2 ^x variables should always refer to the value before the expression
Closes #1307
2013-06-21 18:27:16 +02:00
José Valim 5247961185 Optimize temp_vars lookup 2013-06-21 11:43:41 +02:00
José Valim c4dcaf540d Slight clean up on erlang tests 2013-06-20 22:44:22 +02:00
José Valim 0c17fa0ab2 Use .bat executables on Windows 2013-06-20 09:08:51 +02:00
José Valim 18bcef3ef4 Fix a bug when inspecting records nested in tuples 2013-06-19 19:17:15 +02:00
José Valim 115fd99bfb Move .gitattributes files to repo root 2013-06-19 18:42:44 +02:00
José Valim 879499b409 Deprecate (fun(...) -> ...) spec style
We are deprecating this style because it reads ambiguous
as a function that receives another function as argument.
2013-06-19 18:25:48 +02:00