function helloWorld() {console.log("hi")}
mixin article(title)
.article
.article-wrapper
h1= title
if block
block
else
p No content provided
+article('Hello world')
+article('Hello world')
p This is my
p Amazing article
func fib(n int) int:
coyield
if n < 2:
return n
return fib(n - 1) + fib(n - 2)
fn a_function() {
// ...
}
function Example (|string| data)
file <~ data
(fn (x) (+ x 1))
FUNCTION TORADS(DEGREES) = DEGREES . 3.1415926/180$
Languages with Functions include JavaScript, Python, Ruby, PHP, R, Bash, PowerShell, Scala, Lua, Kotlin, Julia, Erlang, Solidity, Ada, Crystal, Reason, Groovy, OCaml, F#, Pug, VHDL, F*, ABAP, Verilog, Koka, Opa, C3, janet, SystemVerilog, progsbase, ATS, X10, IGOR Pro, Ligo, Cyber, Jule, Eclipse Command Language, Sophia, Speedie, Bel, Q#, BALGOL
Languages without Functions include CSS
View all concepts with or missing a hasFunctions measurement
Read more about Functions on the web: 1.