Permalink
Browse files

Added example to Readme

  • Loading branch information...
1 parent 0616cae commit 7774f8b18b2c5004f52d11eb1a425f8b10746032 @BjRo committed Jan 21, 2014
Showing with 16 additions and 9 deletions.
  1. +16 −9 README.md
View
25 README.md
@@ -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 ###

0 comments on commit 7774f8b

Please sign in to comment.