Re: OO Programmer trying to move to Clojure: Encapsulation

2015-02-07 Thread James Reeves
I think there's less difference than you imagine. In C# you might write: repository.Save(account) Whereas in Clojure: (save repository account) The parameter lists are wider in Clojure only because Clojure doesn't have an explicit method call syntax. - James On 7 February 2015 at 16:0

Re: [ANN] Introducing semantic-csv, a tool for higher-level CSV parsing/processing functionality

2015-02-07 Thread Christopher Small
Hi Rick Looks like a cool project! Grafter seems much more ambitious in scope than semantic-csv , aiming to be a rather complete framework for creating ETL pipelines, and translations between different formats. It feels to me like the sort of thing w

Re: [ANN] Introducing semantic-csv, a tool for higher-level CSV parsing/processing functionality

2015-02-07 Thread Christopher Small
Glad you like it Jony :-) And thanks for your contributions. There are a few things we'll be working on before putting out the first non-alpha release. In particular, better casting error handling options, some safer casting function helpers, improved testing coverage (already well underway, th

OO Programmer trying to move to Clojure: Encapsulation

2015-02-07 Thread Dru Sellers
Greetings, I am trying to convert my mind from OO (C#) to one more functionally friendly. I am increasingly comfortable with simple applications in clojure, but as I start to build more complex applications, I start to fall down about how to structure my application. I don't want to just shove

OO Programmer trying to move to Clojure: Namespace Organization

2015-02-07 Thread Dru Sellers
Greetings, I am trying to convert my mind from OO (C#) to one more functionally friendly. I am increasingly comfortable with simple applications in clojure, but as I start to build more complex applications, I start to fall down about how to structure my application. I don't want to just shove

ANN: fixturex, A library for creating and using fixtures

2015-02-07 Thread Ryan McGowan
Fixturex is a library of functions and macros for using and creating fixtures. It is particularly useful when namespace level fixtures are not specific enough. I'd be happy for any feedback/contribution. Thanks! - Main - http://www.ryanmcg.com/fixturex/ - API - http://www.ryanmcg.com/fixt

Re: ANN: Clojure-Miniprofiler, a web application profiling tool

2015-02-07 Thread tcrayford
Hi Sven, So typically I'd put that stuff *much* lower in the database layer - ideally as a wrapper around whatever database driver you're using, but that kind of idea is roughly right. I am considering releasing a set of libraries for miniprofiler that let it wrap e.g. a jdbc driver, redis cli

Re: call superclass constructor in clojure class generation with defrecord

2015-02-07 Thread coco
Sorry for don't reply before, thanks so much michael, that works...and gary for the explanation, now it's much more clear to me...thanks guys El viernes, 30 de enero de 2015, 18:35:02 (UTC-4:30), coco escribió: > > Hi everybody, I need implement this java code in clojure > > public class MyW

Re: ANN: Clojure-Miniprofiler, a web application profiling tool

2015-02-07 Thread Sven Richter
Hi, I just tried it and it looks really useful if one wants to track down speed bumps in web apps. I wonder if I understand the usege correctly, right now I did something like this: (defn admin-page [params] (let [users (cjmp/trace "all users" (db/get-all-users (get params :filter)))] (l