AFP Assignment 1

Pedro Vasconcelos, DCC/FCUP

March 2021

Gloss

References

Home page

http://gloss.ouroborus.net/

Hackage

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

Examples

Assignment

Implement a mini-library for visualizing binary search trees.

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



Objectives

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

Extra:

Rules

Assessment

Valued aspects:

Plagiarism