Re: foo.spec?

2017-04-22 Thread Jamie English
Hi, It took a little longer than expected, but Speculation , a Ruby port of clojure.spec, is now in a good place. It has the main features of clojure.spec: validation, conforming, generation, and instrumentation. What's missing is an equivalent of `s/describ

Re: foo.spec?

2017-01-22 Thread Xiyang Chen
Hi, In addition to js.spec, here is another alternative I made: Clause.js . What's currently working is conformation and validation for regex specs & function specs. Next on the roadmap is data generation. I've also made a sub-library for documentation g

Re: foo.spec?

2017-01-05 Thread Rich Morin
As Stuart Halloway points out, "all code is data, but all data is not code". That said, I'd like to see spec lean as far as possible in the direction of simply being based on data structures. By way of motivation, let's suppose that I have a Sinatra (Ruby) server that is communicating with Elm

Re: foo.spec?

2017-01-02 Thread Jamie English
It's reassuring to hear there's interest! A précis sounds like a good idea. The API is pretty close to Clojure's right now but once the rest of the functionality is ported over I'll make it more Ruby-like and do a write-up. I'll reply here when I push a usable release. On Thursday, 29 December

Re: foo.spec?

2016-12-31 Thread Alex Miller
There's a Javascript port - https://github.com/prayerslayer/js.spec On Thursday, December 29, 2016 at 12:17:47 PM UTC-6, Rich Morin wrote: > > Does anyone know of efforts to port clojure.spec to other languages? I > thought I had seen someone mention versions for Haskell and Scala, but I > can'

Re: foo.spec?

2016-12-29 Thread Rich Morin
On Thursday, December 29, 2016 at 6:24:39 PM UTC-8, Jamie English wrote: > > I've spent some time over the holidays working on a Ruby port of > clojure.spec: ... > I'm delighted to hear this. One of the things I've been wondering about is how a Ruby API for spec would look. Could you provide a

Re: foo.spec?

2016-12-29 Thread Jamie English
Hi Rich, I've spent some time over the holidays working on a Ruby port of clojure.spec: https://github.com/english/speculation. It's early days - I've mostly implemented validation/conforming, however no data generation - but I hope to have something close to feature parity with clojure.spec w

foo.spec?

2016-12-29 Thread Rich Morin
Does anyone know of efforts to port clojure.spec to other languages? I thought I had seen someone mention versions for Haskell and Scala, but I can't find any information on this. FWIW, my interest is in having elixir.spec and/or ruby.spec... -r -- You received this message because you are