Re: [ANN] defn-spec, define your specs inline with your function

2019-04-01 Thread Alan Thompson
Looks interesting! Definitely need to check this out. Alan On Sun, Mar 31, 2019 at 12:44 AM Daniel Compton < daniel.compton.li...@gmail.com> wrote: > Hi folks > > I've released 0.1.0 of defn-spec > , a library that lets you > define your function specs

[ANN] defn-spec, define your specs inline with your function

2019-03-31 Thread Daniel Compton
Hi folks I've released 0.1.0 of defn-spec , a library that lets you define your function specs inline with your function definitions. A quick example, defn-spec lets you write: (ds/defn to-zoned-dt :- ::zoned-date-time [instant :- ::instant zone-i