Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added example to Readme

  • Loading branch information...
commit 7774f8b18b2c5004f52d11eb1a425f8b10746032 1 parent 0616cae
Björn Rochel authored
Showing with 16 additions and 9 deletions.
  1. +16 −9 README.md
25 README.md
View
@@ -9,22 +9,29 @@ Add to your mix.exs
```elixir
defp deps do
[
- {:apex, "~>0.1", github: "bjro/apex"}
+ {:apex, "~>0.0.1", github: "bjro/apex"}
]
end
```
-### Usage ###
-
-```elixir
-import Apex
-ap data
-```
-
### Examples ###
```elixir
-#TODO: Write examples
+data = [ false, 42, %w(forty two), [time: "now"]]
+Apex.ap data
+#[
+# [0] false,
+# [1] 42,
+# [2] [
+# [0] "forty",
+# [1] "two"
+# ],
+# [3] [
+# [0] time: "now"
+# ]
+#]
+
+:ok
```
### Note on Patches/Pull Requests ###
Please sign in to comment.
Something went wrong with that request. Please try again.