Languages Features Creators Calendar CSV Resources Blog About Donate Add Language
GitHub icon

Anonymous Functions

< >
(() => console.log("hello world"))()
Example from Elixir:
fn -> IO.puts("hello world") end
Example from Coconut:
x -> x ** 2
Example from HOPE:
lambda(x,y) => x + y
Example from Jule:
let anonymous = fn() { outln("Anonymous Function") } anonymous()

Languages with Anonymous Functions include JavaScript, TypeScript, Elixir, Coconut, HOPE, Jule, Static Typescript

Read more about Anonymous Functions on the web: 1.

HTML of this page generated by Features.ts

hasAlgebraicTypes.html 路 hasAnonymousFunctions.html 路 hasArraySlicingSyntax.html

View source

PLDB - Build the next great programming language Search v2023 Day 157 Docs Acknowledgements Traffic Today Traffic Trends Mirrors GitHub