We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 380edc4 commit f5635b6Copy full SHA for f5635b6
_posts/2013-08-08-elixir-design-goals.markdown
@@ -43,7 +43,7 @@ For this reason, we have opted for a small language core. For example, while som
43
Here is an example of how someone would implement `unless`, which is a keyword in many languages, in Elixir:
44
45
```elixir
46
-def unless(expr, opts) do
+defmacro unless(expr, opts) do
47
quote do
48
if(!unquote(expr), unquote(opts))
49
end
0 commit comments