Arc Forumnew | comments | leaders | submitlogin
2 points by pg 6175 days ago | link | parent

You have to pick the type of the value based on one of the arguments. It seems cleaner to do it based on the value of the second rather than the values returned by the first when called.


2 points by knome 6175 days ago | link

Why not have the value always be a list? Then you could do this :

    (def stringize ( args ) (apply string args))
    (stringize:map [coerce _ 'int] "test")

-----