Skip to content
#

programming-language

Here are 5,177 public repositories matching this topic...

julia
ponyc
ergl
ergl commented Feb 15, 2022

The following code fails to compile, as expected:

actor Main
  new create(env: Env) =>
    let f = {() => None}
    f.string()

However, the error message says:

Error:
[main.pony:4:6](): couldn't find 'string' in '$1$0'
    f.string()
     ^

Internally to the compiler (I believe) we don't have a proper name for lambdas, so it's not clear what would be the a

Red is a next-generation programming language strongly inspired by Rebol, but with a broader field of usage thanks to its native-code compiler, from system programming to high-level scripting and cross-platform reactive GUI, while providing modern support for concurrency, all in a zero-install, zero-config, single 1MB file!

  • Updated Mar 1, 2022
  • Red
madskjeldgaard
madskjeldgaard commented Jan 3, 2022

Motivation

The .postf is a neat shortcut for posting a formatted string.

But personally I see my self doing things like "% is not implemented yet".format("something").warn and the equivalent with .error all the time.

Description of Proposed Feature

Add the following methods to String:


// Equivalent to .postf
St

Improve this page

Add a description, image, and links to the programming-language topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the programming-language topic, visit your repo's landing page and select "manage topics."

Learn more