bla is an actively used programming language created in 1994.

26Years Old ?Users ?Jobs

Example code from the web:

map(f,[])    = []
map(f,[h|t]) = [f(h)|map(f,t)]

qsort([],_)     = []
qsort([h|t],lt) = append(qsort(filter(lambda(x) = lt(x,h),t),lt),
                      [h|qsort(filter(lambda(x) = not lt(x,h),t),lt)])

stack[T]() = self where
  d = []
  isempty() = d=[]
  push(x:T) do d:=[x|d]
  pop():T = d | []    -> nil   -- raise stack_empty
              | [h|t] -> h do d:=t

Last updated August 9th, 2020

Edit bla on GitHub