Coder Social home page Coder Social logo

Use ocamlformat? about mlpost HOT 5 OPEN

bobot avatar bobot commented on August 24, 2024
Use ocamlformat?

from mlpost.

Comments (5)

backtracking avatar backtracking commented on August 24, 2024

I currently get a warning related to the use of ocamlformat:

File "dune-project", line 2, characters 11-14:
2 | (using fmt 1.2)
               ^^^
Warning: Version 1.2 of integration with automatic formatters is not
supported until version 1.11 of the dune language.
There are no supported versions of this extension in version 1.1 of the dune
language.

Thus I'd like to switch to dune 2.0. But if I do so, I then have an issue with examples/dune that uses action:

File "examples/dune", line 21, characters 1-40:
21 |  (action
22 |   (diff dune.inc dune.inc.gen)))
Error: 'action' was deleted in version 2.0 of the dune language. Use a rule
stanza with the alias field instead

@rbonichon Do you think you could rewrite examples/dune as suggested in this message, so that we can switch to dune 2.0?

from mlpost.

bobot avatar bobot commented on August 24, 2024

I will do it, it will allow me to see what I have done there. We ponder how to add support for generated rule in dune and this is one of the place where I could use it.

from mlpost.

backtracking avatar backtracking commented on August 24, 2024

thanks!

from mlpost.

bobot avatar bobot commented on August 24, 2024

It should be done in 85fb24d. I was surprised that ppx_bitstring was not in the dependencies of mlpost.

from mlpost.

backtracking avatar backtracking commented on August 24, 2024

I had not updated mlpost.opam yet. That was on the TODO list for the release, which I should be doing soon. So thanks for having taken care of that!

from mlpost.

Related Issues (11)

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.