Tassilo Horn wrote:
> Erebus Mons writes:
>
>> I am reading in a csv-file, and then transform the attributes into a
>> hash-map:
>>
>>
__
>> name,property1,property2,etc
>> John,drunk,stinks,etc.
>> etc.
>>
___
Erebus Mons writes:
> I am reading in a csv-file, and then transform the attributes into a
> hash-map:
>
> __
> name,property1,property2,etc
> John,drunk,stinks,etc.
> etc.
> __
Tassilo Horn wrote:
> erebus.m...@gmail.com writes:
>
>> What am I missing here?
>
> Functions don't really have names. A function may be bound to a var,
> and that has a name (:name metadata, to be precise). That said, since
> function's get compiled to classes you could twiddle with the clas
erebus.m...@gmail.com writes:
> What am I missing here?
Functions don't really have names. A function may be bound to a var,
and that has a name (:name metadata, to be precise). That said, since
function's get compiled to classes you could twiddle with the class
name.
user> (defn fnname [f]
Hello,
I am new to clojure, and I am trying to define a function that turns a
function-name into a string, but I am stuck.
Here is what I tried:
user> (defn some-func []
true)
I am looking for a function stringify that would do the following
user> (stringify some-func)
"some-func"
I