gavr123456789 / Niva

Smalltalk like programming language
https://gavr123456789.github.io/niva-site
41 stars 2 forks source link

Catch error from lambda #277

Closed gavr123456789 closed 1 day ago

gavr123456789 commented 2 months ago

Cond whileLoopButDanger: block::[ -> T!Error] -> Unit = 
  this do => [
    block do ifError: [

    ]
    this whileLoop: block

    // block do => [this whileLoop: block]
  ] |=> Unit