Commit Graph
658 Commits
Author SHA1 Message Date
José Valim 35b22c598d Small tidy up on file.ex 2012-04-06 10:14:48 -03:00
Anthony Grimes efe27fc63c Add read_info(!) tests. 2012-04-06 04:10:00 -05:00
José Valim 3802d998d9 Avoid side effect in tests. 2012-04-05 15:23:54 -03:00
Dickson S. Guedes 18c48db0e2 allow binary_to(_existing)_atom uses :utf8 as default encoding when it is not specified, refs #221 2012-04-05 12:44:44 -03:00
Alexei Sholik 6e542796d6 Make process_options testable 2012-04-05 10:39:34 +03:00
José Valim d3720fe337 Work with binaries, remove char list module. 2012-04-04 15:35:04 -03:00
José Valim bf483ef934 Ensure nested case works, closes #231 2012-04-04 13:52:46 -03:00
José Valim 6a044e6d37 Ensure we can print and inspect utf8 strings. 2012-04-04 11:15:29 -03:00
José Valim 0c1e26adc2 Allow record matches. 2012-04-04 11:07:49 -03:00
José Valim ec07126d5d Properly match bin args. 2012-04-04 11:02:09 -03:00
José Valim 58b770bd85 Allow locals to be delegated to a module. 2012-04-03 19:24:48 -03:00
José Valim 3cad19dbeb Move Module.eval_quoted to the new API. 2012-04-03 19:06:56 -03:00
José Valim 17f9c6f1f0 Move evaluation options to an options setup instead of multiple args. 2012-04-03 18:59:20 -03:00
José Valim 1514c0371b Rename Env to System, move Code functionality to it. 2012-04-03 18:35:24 -03:00
José Valim cf6c7f37ea Merge pull request #222 from alco/env-module
Env module
2012-04-03 13:48:33 -07:00
José Valim 8025bc1dee Ensure we can return utf8 code points. 2012-04-02 21:23:13 -03:00
José Valim 23b0b766e6 Add inspect to Regex. 2012-04-02 10:23:30 -03:00
José Valim 28eaff894e Remove integer based access protocol from lists and binaries. 2012-04-02 10:18:47 -03:00
José Valim 51d9ca5861 Store options as binaries. 2012-04-02 10:06:04 -03:00
José Valim 35038877a2 Add source and opts to Regex. 2012-04-02 09:34:47 -03:00
Alexei Sholik e864164321 Initial draft of the new Env module 2012-04-02 01:49:54 +03:00
José Valim 7033f37a61 Allow modules to be nested. 2012-04-01 23:34:50 +02:00
Rafael Mendonça França 3bc73a3b24 OptionParser.Simple is now based in binaries. Closes #208 2012-04-01 12:53:58 -03:00
José Valim 96f26c9299 Rename Orddict to Keyword, closes #216. 2012-04-01 16:10:31 +02:00
José Valim 06f1f6f5e5 Ensure nested loops work, closes #215. 2012-03-31 11:57:54 +02:00
José Valim 2becd5d1f6 Give a warning if docs are being overwritten. 2012-03-31 11:53:19 +02:00
José Valim 27f263b5a9 Add a failing test for multiclause docs. 2012-03-31 11:47:59 +02:00
José Valim 603a3ee19c destructure can handle nils. 2012-03-31 10:57:34 +02:00
Alexei Sholik 2ab7b09d8e Rename List.append -> List.concat 2012-03-30 20:55:34 +03:00
Alexei Sholik 0fc712377b Replace seq with more powerful range 2012-03-30 20:46:11 +03:00
Alexei Sholik 2f86a4f94b Add tentative range_a and range_b functions 2012-03-30 19:22:00 +03:00
Alexei Sholik 4f07a3c30f Minor fix in enum_test.exs 2012-03-30 18:17:28 +03:00
Alexei Sholik 50b68e60f8 Implement split_with 2012-03-30 18:17:28 +03:00
Alexei Sholik 32e0f9831a Implement take_while 2012-03-30 18:17:27 +03:00
Alexei Sholik 9f0f00c5de Implement drop_while 2012-03-30 18:17:27 +03:00
José Valim d82da1a527 Add assertions for access. 2012-03-30 16:43:49 +02:00
José Valim 509a88b4d2 Tests for invalid access signatures. 2012-03-30 16:24:22 +02:00
José Valim 7390fb6663 Allow access protocol in signatures. 2012-03-30 16:18:27 +02:00
José Valim 700d5dee92 Function access. 2012-03-30 15:20:04 +02:00
José Valim bfa5058704 Atom access. 2012-03-30 15:14:20 +02:00
José Valim a93bcb07b8 re_pattern and atom access for lists. 2012-03-30 15:02:55 +02:00
José Valim 07321c7a75 re access to binaries. 2012-03-30 14:51:40 +02:00
José Valim 0948f40e85 Integer binary access. 2012-03-30 14:39:01 +02:00
José Valim 1ef41170d6 Access for lists. 2012-03-30 13:02:54 +02:00
José Valim 9f8f2a11e3 Allow negative index access on tuples. 2012-03-30 12:48:08 +02:00
José Valim 4530af4927 Initial work on the access protocol. 2012-03-30 12:07:53 +02:00
José Valim 9675cdced6 Code.argv should return a list of binaries. 2012-03-30 09:40:58 +02:00
José Valim 23a5662052 Ensure we don't accidentally dispatch to protocols based on tuples. 2012-03-29 11:16:29 +02:00
Anthony Grimes 7bcfd5a662 Swap expected and actual values to match the actual ExUnit API. 2012-03-28 04:51:16 -05:00
Anthony Grimes 39801821ee Added URI module. 2012-03-28 04:36:45 -05:00