Am I missing something?

2013-12-03 Thread James Laver
Hi all, I'm fairly new to clojure (a few months), but not new to lisp or indeed functional languages in general and I have around 10 years of experience programming dynamic languages in general. I've recently been using luminus to build a RESTful web API and I've been honestly surprised by

Re: Am I missing something?

2013-12-03 Thread James Laver
Hi Sean, On Wednesday, December 4, 2013 12:03:45 AM UTC, Sean Corfield wrote: Take a look at Liberator, which is specifically designed for building REST APIs I did have a quick look at liberator earlier but by that time i'd scratched most of my itch with compojure. I do intend to look into

Re: Am I missing something?

2013-12-04 Thread James Laver
On 4 Dec 2013, at 09:06, James Reeves ja...@booleanknot.com wrote: It sounds like part of the issue is with ring.middleware.format overloading the :params key, but it also seems like you might have an unusual set of requirements. Actually, my larger problem was with compojure doing it. I

Re: Am I missing something?

2013-12-04 Thread James Laver
On 4 Dec 2013, at 05:00, David Nolen dnolen.li...@gmail.com wrote: Did you look at Caribou? It seems more like a complete solution - http://let-caribou.in I’ve now given this a look over. It seems insane. It makes quite a lot of (IMO) questionable choices and it doesn’t seem terribly

Re: Am I missing something?

2013-12-04 Thread James Laver
On 4 Dec 2013, at 11:00, Joshua Ballanco jball...@gmail.com wrote: Just a humble suggestion, but from a cursory glance at your tests, it seems that something like simple-check might save you a lot of time in the future: https://github.com/reiddraper/simple-check That’s a much valued

Re: Am I missing something?

2013-12-04 Thread James Laver
On 4 Dec 2013, at 11:38, James Reeves ja...@booleanknot.com wrote: Compojure also adds to the :route-params key, so if you need to, you can explicitly decide how you want maps of parameters to be merged. The :params key is just there for the convenience of the majority of users. You could

Re: Announcing oolong: a config-based glue for `component`

2015-03-18 Thread James Laver
Responses inline :) On 18 Mar 2015, at 09:49, James Henderson ja...@jarohen.me.uk wrote: On Wednesday, 18 March 2015 09:29:59 UTC, James Laver wrote: component’ is a difficult term to google for, so I hadn’t come across your project :) Same problem here when I started writing Phoenix

Re: Announcing oolong: a config-based glue for `component`

2015-03-18 Thread James Laver
March 2015 10:02:51 UTC, James Laver wrote: I've been using stuartsierra's handy component library for a while now, but I wanted an easier way of connecting components together. To that end, I wrote oolong. The main mode of operation is to take an edn configuration file and connect

Announcing oolong: a config-based glue for `component`

2015-03-17 Thread James Laver
I've been using stuartsierra's handy component library for a while now, but I wanted an easier way of connecting components together. To that end, I wrote oolong. The main mode of operation is to take an edn configuration file and connect the specified systems and components.

Re: Announcing oolong: a config-based glue for `component`

2015-03-17 Thread James Laver
If nothing else, the functions in oolong.util should be pretty handy for manipulating them. Or can serve as a guide for manipulate them programmatically. I’m working on a bunch of complementary stuff to this at present, including a library for developing components on top of oolong that will

[ANN] ednsl-0.2.0: a super-simple DSL for building DSLs

2015-04-03 Thread James Laver
It’s not quite as stupid as it sounds and it’s mostly the result of factoring out the config handling code from oolong[1] https://github.com/jjl/ednsl/ https://clojars.org/ednsl Happy hacking! James [1] https://github.com/jjl/oolong/ -- You received this message because you are subscribed

[ANN] oolong-0.3.0

2015-04-14 Thread James Laver
Hi, Oolong has had a version bump to 0.3.0 which incorporates a refactor to using my new tv100 library (for transformation and validation of data structures). Hopefully this will make it easier to build on top of. The artifact has now moved into the ‘irresponsible’ group to mirror the github

Raynes' legacy

2017-02-24 Thread James Laver
I'm pleased we've dealt with a new maintainer for a couple of Raynes' modules, but Raynes contributed a lot of things and half the community depends on one or more of his modules at this point. My current focus is tentacles, which has been gathering issues and PRs recently and is something I'm

Re: Raynes' legacy

2017-02-27 Thread James Laver
ve to keep improving the code. We will still offer to take whatever of Raynes' modules people haven't started maintaining de facto forks of. Cheers, James On Saturday, February 25, 2017 at 12:09:02 AM UTC-7, James Laver wrote: > > I'm pleased we've dealt with a new maintainer for a couple of Ra

Clojure advent calendar: call for contributions

2016-10-09 Thread James Laver
Hi all, In the model of http://perladvent.org/2015/ and many other "let's look at a programming shiny every day" projects, I thought I'd try to do a clojure advent this year. The overall theme for this year is planned to be a showcase libraries available on clojars, so every day we'll do

Re: Clojure advent calendar: call for contributions

2016-10-15 Thread James Laver
(bump) At the minute, including myself there are five volunteers. If we don't get a few more, we just won't have enough material to do this, which would be a shame. Come on clojure community, we can do this! /j On Sunday, October 9, 2016 at 2:00:41 PM UTC, James Laver wrote: > >

Re: Spec of conform of spec

2016-12-10 Thread James Laver
This is exactly my use case as well. I want to provide the user a nice DSL but make it easy to automatically generate input. The idea I had was the user could write things in the DSL and for automatic generation you could just generate the conformed structure. The other thing it's made me

[ANN] oolong 0.4.0 - the cljs support release

2016-12-09 Thread James Laver
Hi all, We added cljs support to oolong and tidied it up a little bit. We now require clojure 1.7 for cljc support. https://github.com/irresponsible/oolong/ At this point oolong is considered relatively stable and is transitioning to maintenance mode, so we're still happy to take patches, but

[ANN] irresponsible/codependence 0.1.0 (dependency resolution for apps - a twist on integrant)

2017-03-19 Thread James Laver
Hi all, The Irresponsible Clojure Guild is pleased to announce codependence 0.1.0 is now available on clojars. This library came about because I liked integrant, but I wanted a bit more flexibility. It's built upon integrant (which is cool, I ported it to clojurescript!) but with a twist. In

Re: [ANN] tentacles fork on clojars - raynes' legacy lives on!

2017-03-18 Thread James Laver
Oops, that went out with a boot-test dependency (thanks for the spot, coda hale!) Please find [irresponsible/tentacles "0.6.1"] on clojars. And this time I'll spell 'github' correctly: https://github.com/irresponsible/tentacles /j On Saturday, March 18, 2017 at 9:19:08 AM UTC+1, J

Re: [ANN] irresponsible/codependence 0.1.0 (dependency resolution for apps - a twist on integrant)

2017-03-20 Thread James Laver
> On 19 March 2017 at 09:17, James Laver <james...@gmail.com > > wrote: > >> Hi all, >> >> The Irresponsible Clojure Guild is pleased to announce codependence 0.1.0 >> is now available on clojars. >> >> This library came about because I liked

[ANN] tentacles fork on clojars - raynes' legacy lives on!

2017-03-18 Thread James Laver
Hi all, Further to previous discussions, we (the irresponsible clojure guild) have forked tentacles and intend to keep it maintained and improved. This is our first release of tentacles under the irresponsible group and we have resumed versioning from Raynes' versions. github:

[ANN] new release: irresponsible/anarchy 0.1.0 - logic without rules

2017-04-06 Thread James Laver
The primary purpose of this library is to provide a model you can build a UI around that programmers and non-programmers alike can grok. Dep (clojars): [irresponsible/anarchy "0.1.0"] More information (and diagrams!) on github: https://github.com/irresponsible/anarchy Cheers, James (and the

[ANN] irresponsible/anarchy (business logic engine driven by tabular data) v0.2.0

2017-05-11 Thread James Laver
The Irresponsible Clojure Guild is pleased to announce a new version of the 'anarchy' business logic engine. This version features better resistance against nil-returning predicates and completely rewritten documentation that is hopefully significantly easier to understand. The docs are still