// Increment the character 'A' using the function TWO
TWO(increment)('A')
// Concatenate a character to the end of a string
// This function needs to remember the character being concatenated,
// so we wrap the concat() function call within a partial function
// that can remember the value of "char".
//
// "acc" is the accumulator into which the characters are
// concatenated
str_concatenate=char=>acc=>acc.concat(char)
ZERO(str_concatenate('+'))('')
ONE(str_concatenate('+'))('')
TWO(str_concatenate('+'))('')
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.