Git Product home page Git Product logo

Comments (6)

bhb avatar bhb commented on July 22, 2024 1

I have chosen not to add an assert function directly to Expound. I may change my mind on this, but for now, I'd like to avoid mirroring the various functions in spec.

Instead, you can set the *explain-out* var like so:

(s/check-asserts true)
(set! s/*explain-out* expound/printer)
(s/assert :example.place/city 1)

from expound.

bhb avatar bhb commented on July 22, 2024

@nwjsmith Good idea! I'm working on a PR which will add support for a number of spec features, including assert. Once that lands in master (hopefully this week), can I check back in with you and see if it would work for you?

from expound.

nwjsmith avatar nwjsmith commented on July 22, 2024

That would be fantastic. Let me know if I can help in any way.

from expound.

bhb avatar bhb commented on July 22, 2024

@nwjsmith Would you mind trying this feature before I release?

To try it:

  1. git clone [email protected]:bhb/expound.git
  2. cd expound
  3. git checkout expound-printer
  4. lein install
  5. In client project, change dep to [expound "0.1.2"]

from expound.

nwjsmith avatar nwjsmith commented on July 22, 2024

Excellent, that works for me. Thanks!

from expound.

bhb avatar bhb commented on July 22, 2024

@nwjsmith Thanks for reporting this and for testing the fix!

from expound.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.