Cuneiform law
Unlike modern codes, Cuneiform law provides no universal formula for general areas of law. Rather, laws typically consist of specific "if... then..." cases that are meant to act as an example or precedent. Punishments for crimes vary from code to code, but not all prescribe vengeance. Some call only for fines in certain instances, such as in the Code of Ur-Nammu, where one line reads: "If a man knocks out the eye of another man, he shall weigh out one-half a mina of silver." These cases are sometimes arranged in a seemingly random order, though this may be the result of an inability to properly interpret them today as they would have been at the time they were in force.
Cuneiform (programming language)
This script defines a task codice_21 in Bash which prepends codice_22 to its string argument codice_23.
The function produces a record with a single string field codice_24.
Applying codice_21, binding the argument codice_23 to the string codice_27 produces the record codice_28. Projecting this record to its field codice_24 evaluates the string codice_30.