Code Monkey home page Code Monkey logo

Comments (3)

averynortonsmith avatar averynortonsmith commented on July 19, 2024

Neat language by the way! The idea of variables that look like functions reminds me of this discussion, and inheritance reminds me a bit of Pyret.

from closkell.

zaidharoon001 avatar zaidharoon001 commented on July 19, 2024

Oh sorry, I was not able to see this issue in time but here I finally somehow got my eye on it. About the indirection, it is in no way needed but this is how curry keyword does it, so in order to meet the exact semantic for explanation purposes, I decided to write it this way in the documentation.

The curry keyword is supposed to define a regular "function variable"(I just mean a lambda attached to a "variable") since variables are themselves functions it just followed that functions inside variables would be functions inside functions. So to paraphrase it was done for consistency's sake.

Also, I see that you mentioned Pyret which was a huge inspiration for this language thus having a similar inheritance model and sum types.

from closkell.

averynortonsmith avatar averynortonsmith commented on July 19, 2024

I see, makes sense.

That's cool that you had Pyret in mind when thinking about the design! I guess the world of PLs designed for education is still relatively small.

from closkell.

Related Issues (1)

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.