User:Ramcinfo/logji staile

From Lojban
Jump to: navigation, search

staile inspired by programming languages Prolog and Erlang.

 li no
   cu me'au la kancu me'u
     lo kutpoi

 lo'oi ke'a sumji li pa
     lo me'au la kancu me'u be da ku'au
   cu me'au la kancu me'u
     lo'oi ke'a konkatena vu'i zo'e da ku'au

Equivalent definitions in Prolog and Erlang: http://danlucraft.com/blog/2007/08/comparing-erlang-and-prolog/

See also: http://hyperpolyglot.org/logic

I have doubts of defining sequence of single undefined element as {vu'i zo'e} — couldn’t zo'e be e.g. a set with cardinality > 1?