Code Monkey home page Code Monkey logo

Comments (3)

thomashoneyman avatar thomashoneyman commented on July 30, 2024 1

We don't provide FFI shims for all libraries in the PureScript package sets; you can't execute Node libraries on Try PureScript, but the compiler will still happily typecheck it for you.

from trypurescript.

thomashoneyman avatar thomashoneyman commented on July 30, 2024 1

It's possible to catch this error and bubble it up to the Halogen application, displaying a message to the user directly. However, since the core team is currently working on a new compiler release and the new registry I think it's unlikely anyone gets to it in the near term. That said, I'd certainly accept pull requests that help surface this error or a warning to the user!

from trypurescript.

GuillaumeDesforges avatar GuillaumeDesforges commented on July 30, 2024

Thanks for the quick reply.

Maybe it'd be helpful to add it to the doc? Or try to provide a meaningful error message to users when that happens?

from trypurescript.

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.