top of page

Marcel can be used as a calculator, by writing an expression inside parentheses. The command below computes the golden ratio. It is equivalent to using the map operator with a zero-function argument, i.e. map (lambda: (1 + sqrt(5)) / 2). This works because map and lambda can be omitted and are understood from context.

M 0.18.3 jao@loon ~/git/marcel$ ((1 + sqrt(5)) / 2)


bottom of page