Code Monkey home page Code Monkey logo

Comments (3)

aspiwack avatar aspiwack commented on August 11, 2024 1

I'd say that linear GHC is somewhat ready. Linear types work fine, but let and where bindings are never linear, which can be rather painful. This is something that I've fixed in a merge request, which has been reviewed, just needs a little bit of clean up probably. It'll be merged soon, which means that GHC 9.10 will be in a much better place for linear types. One thing that I don't really have a path to fixing, though, is the rather unhelpful error messages you get from linearity mismatches.

Linear types can still be useful to you today, though. If they bring strong benefits to you, it may be worth the inconvenience.

Linear-base is going slowly largely because there isn't much that I both want to do and know how to do.

Is there any way to help for a layman like me?

I don't have anything in particular in mind. But if you decide to use the linear GHC and linear-base and give feedback, this would already be a ton of help. It may also be a path to deeper contributions 🙂 .

Are there any plans for integrating directly with rust's affine types too?

There aren't. I'm not even quite sure what it'd mean, to be honest. Having affine types in addition to linear types would not be much of a technical challenge (the way we've built the formalism and the implementation actually makes it rather easy). It's just that ownership à la Rust and affine types aren't really the same thing. So we'd have to understand what kind of integration we're looking at before we can start really discussing what it'd imply.

Is there a chat or mailing list I could join?

Not as of yet, but I've opened the discussions on Github, don't hesitate to have chats there.

from linear-base.

aspiwack avatar aspiwack commented on August 11, 2024 1

Let me close as I believe the question has been answered.

from linear-base.

aspiwack avatar aspiwack commented on August 11, 2024

As a follow up, you were asking for chats: we now have a Discord: https://discord.gg/7yg5GxzvDJ .

from linear-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.