On Wednesday, March 26, 2014 8:24:15 PM UTC-4, Brandon Barret wrote:
>
>
>
> Wow...I am..wow, you are right. Thanks for the quick reply! So I would
> set up the parameter as a file Object first and then it should work okay? I
> think I am seeing the error of my ways quite c
Wow...I am..wow, you are right. Thanks for the quick reply!
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your
Also, when I run either method, it returns "0". Do I need to set up the
function so it can return a long value or date value, respectively? The
.getName method seems to work fine.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this gr
I am working on a project that requires me to get the size of a file and
access it's last date of modification. It seems like the java methods
.length and .lastmodified could be pretty handy in this situation. I am,
however, having a bit of trouble wrapping my head around how to access a
jav
Thanks everyone! I think I figured it out. Being new to Clojure, I wasn't
really considering that I was passing an anonymous function and wasn't
thinking about recursion. Coming fom an Object Oriented background,
properly forming functions is a bit new to me. Thanks for all the pointers!
I
Jarrod,
Thanks! I have heard of fs. Since I am new to Clojure, I was resistant to
try it, but am going to look into it more tonight. Thanks!
Brandon
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@g
Sean,
I am getting closer. Sorry about that. Here is my (rudimentary) code. My
goal is to print the contents of a directory, and from that, print one of
two things based on the results ( an if/then, if you will). I am running
into a few problems though.
(defn list-paths [directory]
(p
Hello all,
I am working on a program that needs to list all the files in a directory.
I have read that Clojure doesn't yet have great support for this kind of
task, and that it is better to import java.io.File to your namespace in
order to use some of it's methods. Every time I have done t
Wow, thanks so much for the great feedback. These look promising. I am
going to sit down tonight and begin reading.
Thanks again! So far, the Clojure community is reason enough to stick with
the language for future projects!
--
You received this message because you are subscribed to the Go
Hello all,
I am new to Clojure, coming from a Java and C background. I love the
language so far, and am really trying to get settled into the functional
way of thinking about and solving problems. I have a very simple question
to ask.
Currently, I am using the Counterclockwise plugin for
10 matches
Mail list logo