Re: Real World Example

2014-04-10 Thread Anthony Ortiz
Wow, this is awesome! Thanks for posting this, I'm going through it as soon as I'm done with dinner! On Thursday, April 10, 2014 5:00:07 PM UTC-4, Karsten Schmidt wrote: > > Hi Anthony, unfortunately I can't point you to actual code examples > (since this was work for a client), but I've got som

Re: Real World Example

2014-04-10 Thread Anthony Ortiz
Oh that would be very nice! On Thursday, April 10, 2014 9:22:35 AM UTC-4, Mike Haney wrote: > > I'm in the early stages of developing a real-world app for a customer that > will use a full clojure stack. It's maybe not as sexy as all the social > networking examples you see, but I think it's mo

Questions regarding Map vs Record and usage

2014-04-09 Thread Anthony Ortiz
I see that there are several ways of instantiating a record : (->Book "Lord of the Rings", "Tolkien") (Book. "Lord of the Rings", "Tolkien") #user.Book{:title "Lord of the Rings", :author "Tolkien"} Questions : 1) The second version is referred to as the "original" version so I'm wondering w

Re: Quotient *and* Remainder

2014-04-09 Thread Anthony Ortiz
eparately. > > - James > > > On 9 April 2014 18:11, Anthony Ortiz >wrote: > >> No because that's simply calling what is essentially the same function >> twice. Internally the quotient and remainder functions are the same, the >> only difference is which p

Re: Quotient *and* Remainder

2014-04-09 Thread Anthony Ortiz
No because that's simply calling what is essentially the same function twice. Internally the quotient and remainder functions are the same, the only difference is which part of the result they return. If I call the quotient function and then I call the remainder function then I am performing th

Quotient *and* Remainder

2014-04-09 Thread Anthony Ortiz
Hello everyone, I am able to get the quotient or remainder by doing the following : (quot 22 7) -> 3 (rem 22 7) -> 1 Is there a way to get back both the quotient and the remainder in one calculation rather than performing two separate calculations? And I don't mean writing a function that doe

Real World Example

2014-04-08 Thread Anthony Ortiz
Hello world! I'm a C# developer who recently went to an interview at a major bank here in NYC and found that they've been using Clojure for their business logic for over a year already and that got me curious, so I find myself on unfamiliar territory learning how to program in a functional lang