Rip Programming Language
  • About
  • Downloads
  • Samples
  • FAQ
  • Roadmap
Subscribe
Tagged

Semantics

A collection of 2 posts

Semantics

Lambda Syntax Update

Rip infers all types, but sometimes it helps to clearly describe what is expected. For this Rip allows specifying the types of some or all parameters for some or all overloads (type restrictions in Rip's parlance). In the absence of a type restriction, Rip allows any type and relies on

Thomas Ingram May 4, 2015 • 1 min read
Semantics

Iteration

Rip supports a variety of interfaces for iterating over collections. ```language-rip numbers = 1..5 double = -> (n) { n + n } ```Setup code```language-rip result = System.List.map(double, numbers) ```Functional Syntax```language-rip result = numbers.map(double) ```Object Oriented Syntax```language-rip result = numbers |> System.List.map(double) ```Pipeline Syntax```language-rip result = from

Thomas Ingram Nov 29, 2014 • 1 min read
Rip Programming Language © 2023
Powered by Ghost