Commit Graph
36 Commits
Author SHA1 Message Date
José Valim 8387677a6d Do not merge kv-args and kv-blocks, #100 2012-01-18 12:43:41 +01:00
José Valim c6176548d2 Rename Orddict.fetch -> Orddict.get. 2012-01-16 22:18:59 +01:00
José Valim eca3bcc5b0 Discourage module nesting, closes #101 2012-01-15 21:06:12 +01:00
José Valim 4ca8ce74ef Rename unquote_splice -> unquote_splicing, closes #96 2012-01-15 14:52:53 +01:00
José Valim c5405da00d Rename for and bitfor to lc and bc. 2012-01-15 14:35:00 +01:00
José Valim 2bdadb9662 Do not hide backtrace on protocol failures. 2012-01-13 20:43:31 +01:00
José Valim 5845cf1dce Update quote docs to mention hygiene 2012-01-11 15:20:12 +01:00
José Valim 118c4a7ead Implement macros hygiene. Also move kernel behavior to test/elixir/kernel. 2012-01-11 15:03:25 +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 94eda15711 Rename args for vars from false to nil. 2012-01-11 06:56:11 +01:00
José Valim 394f3f7f8a Fix protocol exceptions. 2012-01-10 12:01:38 +01:00
José Valim 11d1486d8a Use __var for quoted variables. 2012-01-09 20:08:02 +01:00
José Valim 6e8d9d3202 Fix multi assignment clauses in different conditions. 2012-01-08 13:37:26 +01:00
José Valim 5992acda6c Add refer that extracts one of the responsibilities from require. 2012-01-07 10:01:55 +01:00
José Valim 5a95eca33c Remove wrong usage of List 2012-01-06 13:19:22 +01:00
José Valim 2232fa0a27 Add more protocol docs. 2012-01-06 10:04:15 +01:00
José Valim 6cab56b45f Add __impl_for__ on defimpl 2012-01-05 19:24:20 +01:00
José Valim 4cf5dbf6a5 Protocol expects an argument. 2012-01-05 18:32:08 +01:00
José Valim 72ab05aecc Refactor protocol to also implement __protocol_for__ 2012-01-05 17:51:55 +01:00
José Valim ebdbc7d23c Move stuff to module.ex 2012-01-04 21:24:58 +01:00
José Valim 8444841ee8 Create a distinction between eval and eval_quoted. 2012-01-04 20:39:28 +01:00
José Valim 789729dbb4 Deprecate bitstr in favor of the << >> syntax. 2012-01-04 10:16:13 +01:00
José Valim 18522ab909 Let the compiler do the hard work for you. 2012-01-03 17:17:36 +01:00
José Valim 2ad0e6bbda No need to fetch from orddict. 2012-01-02 14:56:35 +01:00
José Valim ebc32eca3c More docs. 2012-01-02 14:53:42 +01:00
José Valim 3f2cf5ce0d Minor improvements. 2012-01-02 13:20:58 +01:00
José Valim 2080e054ab module -> defmodule 2012-01-02 11:08:25 +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
José Valim a2ee9597bc Improve protocol handling. 2011-12-31 16:42:08 +01:00
José Valim 2a53650197 Remove call operators as they are ambiguous. 2011-12-31 13:11:34 +01:00
José Valim 8fda66aaec Improvements to protocol implementation. 2011-12-31 10:49:39 +01:00
José Valim 4edf90c138 Initial work on defimpl. 2011-12-31 09:45:45 +01:00
José Valim 388e14ec8e Start work on defprotocol. 2011-12-31 09:15:56 +01:00