AFP Assignment 1

Pedro Vasconcelos, DCC/FCUP

February 2020

Gloss

References

Home page

http://gloss.ouroborus.net/

Hackage

http://hackage.haskell.org/package/gloss

Examples

Assignment

Implement a mini-library for visualizing data structures e.g. binary search trees:

data Tree a = Empty | Branch a (Tree a) (Tree a)



Objectives

drawTree :: Show a => Tree a -> Picture

Extra:

Rules

Assement

Plagiarism