Skip navigation

Haskell Icon Sources

Collection of sources used or discussed in the course.

    Module Source referred to in:
     
 

Lectures

   
   
Temperature
Defines a type Temperature with several conversion routines as well as tests against specifications.
Haskell source file
Programming Foundations, Algebraic Types
   
Bike Computer
Live programming module. Take it as what it is: a program which was created live and from scratch together with you during the lecture and which is set on-line here raw without any polishing. The accompanying lecture recording may be more enlightening than the code alone.
Haskell source file
Programming Foundations, Functions and basic type system
   
Bike Computer (cleaned up)
Same program as above, only cleaned up and completed after the lecture.
Haskell source file
Programming Foundations, Functions and basic type system
   
Recursions
Live programming module. No beautifications - just the raw code from the lecture.
Haskell source file
Essential Programming, Recursive functions
   
Integer_Subtypes
Provided the types Positive and Natural (used in the live programming code about recursions above).
Haskell source file
General support module
   
Sorting
Contains mergesort, insert_sort and quicksort, as well as the accompanying test routines.
Haskell source file
Programming Foundations, Algebraic Types
   
Boolean_XOr
Six ways to define this boolean function.
Haskell source file
Abstract Types
   
Rational_Pi
Defines a more precise version of pi.
Haskell source file
Abstract Types
   
Pattern_matching
Showcases a common pitfall with rigid and flexible length pattern matching.
Haskell source file
Algebraic Types
   
Is_Element
Four ways to define an "is element of list" function.
Haskell source file
Algebraic Types
   
Fractal_Tree
A recursive function to draw a tree based on a single shape.
Haskell source file
Algebraic Types
   
Geometry
Includes the Vector_3D definition and operations, as well as the definition of basic Geometry.
Haskell source file
Algebraic Types
   
Binary_Search_Trees
Live programming module. No beautifications - just the raw code from the lecture.
Haskell source file
Algebraic Types
   
Binary_Trees
Defines a binary Tree data structure with basic operations.
Haskell source file
Algebraic Types
   
AVL_Trees
Self-balancing tree implementation, based on the original design by G. M. Adelson-Velskii and E. M. Landis from 1962.
Haskell source file
Algebraic Types (comp1130)
   
Mapping_and_Folding
Motivation and examples for higher order functions.
Haskell source file
Modular Programming
   
Sets
A module for sets based on equality alone.
Haskell source file
Modular Programming
   
Sets_Ordered
A module for sets based on order.
Haskell source file
Modular Programming
   
Sets_Binary_Search
A module for sets based on order and binary search trees.
Haskell source file
Modular Programming
   
Tables
Tables_Ordered_Keys
Tables_Types
Tables_Implementation
A module for sets based on order and binary search trees.
Haskell source file
Haskell source file
Haskell source file
Haskell source file
Modular Programming
         
     

 

Updated:   Monday 29 April, 2013 17:40 / Responsible Officer:   JavaScript must be enabled to display this email address. / Page Contact:   Course Webmaster