# Category:Oz

**Oz**

This

**programming language**may be used to instruct a computer to perform a task.

Official website |
---|

Garbage collected: | Yes |
---|---|

Parameter passing methods: | By reference |

Type safety: | Safe |

Type strength: | Strong |

Type compatibility: | Structural |

Type expression: | Implicit |

Type checking: | Dynamic |

See Also: |

The Mozart Programming System is the primary implementation of Oz. It is released with an open source license by the Mozart Consortium. Mozart has been ported to different flavors of Unix, FreeBSD, Linux, Microsoft Windows, and Mac OS X.[2]

## How to execute the examples on Rosetta Code[edit]

All examples that start with `declare`

can be used directly in the Emacs-based IDE, without a separate compilation step. Just copy the source code to the `Oz`

buffer and select the menu item "Oz→Feed Buffer".

Some examples are functor definitions and must be compiled. If a `makefile.oz`

is supplied, execute `ozmake`

to build the project. Otherwise call the compiler directly: ` ozc -c filename.oz`

. Execute a compiled functor with `ozengine filename.ozf`

.

## Citation[edit]

## Subcategories

This category has the following 3 subcategories, out of 3 total.

## Pages in category "Oz"

The following 277 pages are in this category, out of 277 total.

### A

- A+B
- Abstract type
- Accumulator factory
- Ackermann function
- Active object
- Add a variable to a class instance at runtime
- Align columns
- Amb
- Anagrams
- Animate a pendulum
- Animation
- Apply a callback to an array
- Arbitrary-precision integers (included)
- Arithmetic evaluation
- Arithmetic/Integer
- Array concatenation
- Arrays
- Assertions
- Associative array/Creation
- Associative array/Iteration
- Atomic updates
- Averages/Arithmetic mean
- Averages/Median
- Averages/Mode
- Averages/Pythagorean means
- Averages/Root mean square
- Averages/Simple moving average

### C

- Call a foreign-language function
- Character codes
- Check that file exists
- Classes
- Closest-pair problem
- Collections
- Combinations
- Command-line arguments
- Comments
- Compile-time calculation
- Compound data type
- Concurrent computing
- Conditional structures
- Conway's Game of Life
- Create a file
- Create a two-dimensional array at runtime
- Create an HTML table

### D

- Date format
- Define a primitive data type
- Delegates
- Delete a file
- Detect division by zero
- Determine if a string is numeric
- Determine if only one instance is running
- Dining philosophers
- Distributed programming
- Dot product
- Doubly-linked list/Element definition
- Doubly-linked list/Element insertion
- Doubly-linked list/Traversal

### E

### F

- Factorial
- Factors of an integer
- Fibonacci sequence
- File input/output
- File modification time
- File size
- Filter
- Find common directory path
- Find limit of recursion
- Find the missing permutation
- First-class functions
- First-class functions/Use numbers analogously
- FizzBuzz
- Flatten a list
- Flow-control structures
- Fork
- Formatted numeric output
- Function composition
- Function definition

### G

### H

### I

### K

### L

- Leap year
- List comprehensions
- Literals/Integer
- Literals/String
- Logical operations
- Longest common subsequence
- Look-and-say sequence
- Loop over multiple arrays simultaneously
- Loops/Break
- Loops/Continue
- Loops/Do-while
- Loops/Downward for
- Loops/For
- Loops/For with a specified step
- Loops/Foreach
- Loops/Infinite
- Loops/N plus one half
- Loops/Nested
- Loops/While
- Lucas-Lehmer test
- Luhn test of credit card numbers

### M

### N

### P

### R

- Random number generator (included)
- Range expansion
- Range extraction
- RCRPG
- Read entire file
- Real constants and functions
- Regular expressions
- Remove duplicate elements
- Rendezvous
- Repeat a string
- Respond to an unknown method call
- Reverse a string
- Roman numerals/Encode
- Rosetta Code/Count examples
- Rosetta Code/Find unimplemented tasks
- Rosetta Code/Rank languages by popularity
- Rot-13
- Run-length encoding
- Runtime evaluation
- Runtime evaluation/In an environment

### S

- Search a list
- Sequence of non-squares
- Shell one-liner
- Short-circuit evaluation
- Sierpinski carpet
- Sierpinski triangle
- Sieve of Eratosthenes
- Simple windowed application
- Simulate input/Keyboard
- Simulate input/Mouse
- Singleton
- Sleep
- Sockets
- Sort an array of composite structures
- Sort an integer array
- Sort stability
- Sort using a custom comparator
- Sorting algorithms/Bogosort
- Sorting algorithms/Bubble sort
- Sorting algorithms/Cocktail sort
- Sorting algorithms/Comb sort
- Sorting algorithms/Counting sort
- Sorting algorithms/Gnome sort
- Sorting algorithms/Heapsort
- Sorting algorithms/Insertion sort
- Sorting algorithms/Merge sort
- Sorting algorithms/Quicksort
- Sorting algorithms/Selection sort
- Sorting algorithms/Stooge sort
- Spiral matrix
- Stack
- Stack traces
- Stair-climbing puzzle
- String case
- String concatenation
- String interpolation (included)
- String length
- Substring
- Sudoku
- Sum and product of an array
- Sum of a series
- Sum of squares
- Symmetric difference
- Synchronous concurrency
- System time