A Google search for "clojure spec generate" turned up this for me on the first page of results: https://github.com/stathissideris/spec-provider
It may or may not fit your use-case, but scanning through the README it seems at least related to what you're looking for. On 7 January 2018 at 18:25, Azzabi Ahmed <ahmed.ar...@gmail.com> wrote: > Hi all, so usually I structure my application as black box, that takes some > input and gives output, I usually validate inputs before starting with them > in my system boundaries, which I think clojure spec is good for since it also > allows to document what my application accept or expect. Now my question is > there a library that allows to deduct/infer specs then I call instrument to > validate that following called methods respect the specs. > > Example > > If I have function foo that takes some input that I already wrote specs for, > then foo will call bar with some part of the input. Is their a lib to infer > bar specs based on foo specs and calls ? Also that then I can instrument and > check if all code calls are consistent ? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.