Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixes typo on function doc

  • Loading branch information...
commit e9ce447446fbfdcaf1d70fd7aaf6a44da77dff09 1 parent bd14f05
Alvaro Videla authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 src/closerl/core.clj
4 src/closerl/core.clj
@@ -87,11 +87,11 @@
87 87
88 88 nil
89 89 (otp-value [o] ""))
90   -
  90 +
91 91 (defn proplist-to-map [pl]
92 92 "Takes a property list like structure and converts it to a map.
93 93 For example:
94   - [{a, 1}, {b, 2}, {c, 3}] or {{a, 1}, {b, 2}, {c, 3} in Erlang will become:
  94 + [{a, 1}, {b, 2}, {c, 3}] or {{a, 1}, {b, 2}, {c, 3}} in Erlang will become:
95 95 {:a 1, :b 2, :c 3}"
96 96 (reduce (fn [my-map my-value] (assoc my-map (keyword (first my-value)) (second my-value))) {} pl))
97 97

0 comments on commit e9ce447

Please sign in to comment.
Something went wrong with that request. Please try again.