Giter VIP home page Giter VIP logo

Comments (9)

bcc32 avatar bcc32 commented on August 21, 2024

I get these type signatures in merlin output too, I don't think it's a utop issue.

from base.

yminsky avatar yminsky commented on August 21, 2024

from base.

hhugo avatar hhugo commented on August 21, 2024

I do not see this issue with base. I could reproduce this issue with core_kernel and core.
@lpw25, will this be solved with the new short path.

from base.

lpw25 avatar lpw25 commented on August 21, 2024

It should be, although partly by luck. Really ppx_sexp_conv should move to using attributes instead of special type names, then we could remove the sexp_list type from the environment.

from base.

copy avatar copy commented on August 21, 2024

ppx_sexp_conv already seems to support a generalisation of sexp_{list,bool,array,option}, see defaults. The next step is to remove the 'a sexp_list = 'a list alias from Base and replace the uses of the special type names with the new attributes.

Merlin also shows sexp_{list,bool,array,option} instead of {list,bool,array,option}, for example when running MerlinTypeOf on Base.List.

from base.

vzaliva avatar vzaliva commented on August 21, 2024

any workarounds?

from base.

yminsky avatar yminsky commented on August 21, 2024

We're working on changing ppx_sexp_conv so that these type definitions become unnecessary. That should fix the problem.

from base.

kevinji avatar kevinji commented on August 21, 2024

See f7770ef.

from base.

seliopou avatar seliopou commented on August 21, 2024

This issue is old enough that it's likely stale. And indeed I checked some of the examples cited above and indeed the special sexp_ types are no longer being used, and the type alias for the hash table constructor has been expanded.

from base.

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.