conversion problems using (count @someatom)

2012-10-29 Thread larry google groups
I decided I wanted to be able to see some stats about my little app, so I added this function: (defn show-stats-regarding-resources-used-by-this-app [request] (response (apply str Memory in use (percentage/used/max-heap): (who/memory-usage) CPU usage (how-many-cpu's/load-average):

Re: conversion problems using (count @someatom)

2012-10-29 Thread AtKaaZ
(apply str Memory apply str (list memory ... ) no? On Mon, Oct 29, 2012 at 5:21 PM, larry google groups lawrencecloj...@gmail.com wrote: I decided I wanted to be able to see some stats about my little app, so I added this function: (defn show-stats-regarding-resources-used-by-this-app

Re: conversion problems using (count @someatom)

2012-10-29 Thread Sean Corfield
Your last argument is not a sequence - remove the apply. (and you probably want to remove the conj [] on the free memory call?) On Mon, Oct 29, 2012 at 9:21 AM, larry google groups lawrencecloj...@gmail.com wrote: Now Ihave this and I get errors: (defn