Rebol Tutorial

Rebol Programming - Learn Rebol with Real-World Examples

Tag archives for Functional Programming

[Hot] Map Reduce Functions in Rebol: towards Massive Parallel Functional Programming (part I)

[Hot] Map Reduce Functions in Rebol: towards Massive Parallel Functional Programming (part I)
Joel on Software complained about CS students who are never taught anything but Java: Without understanding functional programming, you can't invent MapReduce, the algorithm that makes Google so massively scalable. The terms Map and Reduce come from Lisp and functional programming. MapReduce is, in retrospect, obvious to anyone who remembers from ...more»
21 Jul by admin in All, Concept, Expert, Scala, Syntax

An equivalent of Scala Var Keyword in Rebol

An equivalent of Scala Var Keyword in Rebol
This is even easier than for the val keyword (see ""): var: :set That's all Folks :) Test for the absolute skeptics: >> var 'a 1 == 1 >> a == 1 >> a: 2 == 2 >> Of course in Rebol this syntax is completely useless as you could just write: a: 1 But for our Scala learning purpose this may ...more»
18 Jul by admin in All, Concept, Scala, Syntax

An equivalent of Scala Val keyword in Rebol

An equivalent of Scala Val keyword in Rebol
Scala emphasizes scalability and this scalability claim is based on its immutable-state-by-default stance. In our first lesson "") we learnt that scala can declare a variable with either the var or the val keyword. Rebol can also protect a variable (the function name is protect) but it doesn't do it ...more»