CSci 450-01: Organization of Programming Languages
CSci 503-01: Fundamental Concepts in Languages
Fall 2014


Description of Bag Concept

Note: I adapted this description from the header comments for the Scala CookieJar trait developed in March 2010 and modified in January 2012 for the course Mulitparadigm Programming (CSci 556).

I use notation that can be typed into comments for computer programs, not the notation that would be used in a typeset mathematics textbook.

A mathematical bag is an unordered collection of values in which each value may occur one or more times.

The bag notation used in this documentation includes:


Copyright © 2014, H. Conrad Cunningham
Last modified: Wed Sep 11 12:42:33 CDT 2013