clojerl / clojerl

Clojure for the Erlang VM (unofficial)

Home Page:http://try.clojerl.online/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Imitate support from ClojureScript to encode/decode into/from Erlang value

jfacorro opened this issue · comments

In ClojureScript there are two functions, one is clj->js (IEncodeJS protocol) and the other js->clj (IEncodeClojure protocol).

We currently have defined the protocol clojerl.IErl that provides ->erl to encode a value to Erlang. It's a good idea to imitate ClojureScript and both rename the existing protocol & function plus define the IEncodeClojure function as well.