José Valim
|
f9dd6f66a6
|
Remove function single do: definition syntax
|
2012-05-13 17:36:54 +02:00 |
|
José Valim
|
e476a5ef0d
|
Stab at new syntax
|
2012-05-13 15:33:57 +02:00 |
|
José Valim
|
5210aa5da8
|
Now that we have faster load times, get rid of assert_equal
|
2012-04-26 09:29:21 +02:00 |
|
José Valim
|
929f84f420
|
Revert removal of assert_equal
|
2012-04-26 00:31:40 +02:00 |
|
José Valim
|
34f47fa6c2
|
Convert more files from assert_equal to assert ==
|
2012-04-25 23:30:37 +02:00 |
|
José Valim
|
9a475008ec
|
Get rid of assert_operator, handle it with assert
|
2012-04-25 20:36:42 +02:00 |
|
José Valim
|
22c7f8259b
|
Clean up kvblocks now that keywords accepts multiple entries
|
2012-04-25 12:18:43 +02:00 |
|
José Valim
|
ffa5c3964d
|
Provide a new protocol API, closes #251
|
2012-04-25 09:19:55 +02:00 |
|
José Valim
|
e53406d3cd
|
Tidy up and rename __protocol_for__ to __impl_for__, related to #250
|
2012-04-24 20:44:39 +02:00 |
|
José Valim
|
7c26b215c7
|
Add __protocol_for__ that returns the protocol that matches the given structure, related to #250
|
2012-04-24 20:33:43 +02:00 |
|
José Valim
|
2851da4186
|
Ensure protocol functions with more than one arity works, closes #247
|
2012-04-13 10:18:03 -03:00 |
|
José Valim
|
66587fc87d
|
Down to two protocol failures.
|
2012-03-25 21:48:40 +02:00 |
|
José Valim
|
c5be874751
|
Remove support to ::, down to 16 failures.
|
2012-03-25 21:35:49 +02:00 |
|
José Valim
|
d815788c52
|
Compile files using . and inside __MAIN__
|
2012-03-25 18:48:20 +02:00 |
|
José Valim
|
cd0f128705
|
More naming related fixes.
|
2012-03-25 16:53:13 +02:00 |
|
José Valim
|
5f36ccafd8
|
Provide a more robust solution for protocol handling.
|
2012-03-07 14:32:09 +01:00 |
|
José Valim
|
bad6c2e313
|
Improve protocols in order to avoid false positives, closes #146
|
2012-03-07 10:33:07 +01:00 |
|
Rafael Mendonça França
|
6710b2ba95
|
Use assert_raises in the tests
|
2012-03-06 14:35:58 -03:00 |
|
José Valim
|
a5a0fd0db5
|
Process.erase -> Process.delete
|
2012-02-25 13:25:22 +01:00 |
|
José Valim
|
f7f2b69f97
|
Add List.wrap, ensure __protocol_for__ doesn't fail.
|
2012-02-18 17:15:48 +01:00 |
|
José Valim
|
6f4dd3a1de
|
Fix ambiguity in the parser and improve errors for missing implementations.
|
2012-02-15 14:01:34 +01:00 |
|
José Valim
|
d3019e5662
|
Do not automatically include any in the protocol.
|
2012-02-15 13:27:39 +01:00 |
|
José Valim
|
3a06259951
|
Convert from def test_rest to test :rest
|
2012-02-13 16:56:11 +01:00 |
|
José Valim
|
d42b952e99
|
Include a Record segment in Protocols.
|
2012-02-12 08:57:39 +01:00 |
|
Rafael Mendonça França
|
1991d8669c
|
Use new assertions on tests
|
2012-02-12 00:22:52 -02:00 |
|
José Valim
|
41d2a7f87e
|
Revert "Rename tuples { 1, 2, 3 } to %{ 1, 2, 3 } to remove ambiguity."
This reverts commit 20f524dae2.
|
2012-02-06 22:46:24 +01:00 |
|
José Valim
|
20f524dae2
|
Rename tuples { 1, 2, 3 } to %{ 1, 2, 3 } to remove ambiguity.
|
2012-02-06 16:39:55 +01:00 |
|
José Valim
|
ee2c03217e
|
Revert "Get rid of defp in favor of data and @visibility :private."
This reverts commit 20e4b3a5f9.
|
2012-01-20 22:55:03 +01:00 |
|
José Valim
|
20e4b3a5f9
|
Get rid of defp in favor of data and @visibility :private.
|
2012-01-20 19:42:23 +01:00 |
|
José Valim
|
eca3bcc5b0
|
Discourage module nesting, closes #101
|
2012-01-15 21:06:12 +01:00 |
|
José Valim
|
fc961cf40d
|
Simplify try/catch to be more like Erlang's and not require a tuple.
|
2012-01-11 07:33:44 +01:00 |
|
José Valim
|
5566ca7193
|
Tests for __protocol_for__
|
2012-01-05 19:20:09 +01:00 |
|
José Valim
|
4cf5dbf6a5
|
Protocol expects an argument.
|
2012-01-05 18:32:08 +01:00 |
|
José Valim
|
3c1d993fce
|
Add a test_helper
|
2012-01-05 10:44:01 +01:00 |
|
José Valim
|
789729dbb4
|
Deprecate bitstr in favor of the << >> syntax.
|
2012-01-04 10:16:13 +01:00 |
|
José Valim
|
835daeede3
|
Use the new ^ unary operator.
|
2012-01-02 13:26:47 +01:00 |
|
José Valim
|
3f2cf5ce0d
|
Minor improvements.
|
2012-01-02 13:20:58 +01:00 |
|
José Valim
|
db35607714
|
Test implicit module generation on protocols.
|
2012-01-02 11:09:50 +01:00 |
|
José Valim
|
2080e054ab
|
module -> defmodule
|
2012-01-02 11:08:25 +01:00 |
|
Andrzej Sliwa
|
0b88c1bcbe
|
handling linu numbers in stacktraces on R15
|
2012-01-02 09:43:00 +01:00 |
|
José Valim
|
264852a4d9
|
Add tests for records + protocols
|
2011-12-31 20:39:31 +01:00 |
|
José Valim
|
3856c74a2b
|
Protocols now work as expected \o/
|
2011-12-31 19:03:46 +01:00 |
|
José Valim
|
b8d215569b
|
Improve tests for protocol.
|
2011-12-31 17:42:02 +01:00 |
|
José Valim
|
f8551ac3c4
|
Add tests for protocol pointers.
|
2011-12-31 17:00:19 +01:00 |
|