added practicum files, updated gitignore
[fp1415.git] / files / practicum / GesorteerdBestandNaarBoom.icl
1 implementation module GesorteerdBestandNaarBoom
2
3 import StdEnv
4 import SimpleFileIO
5
6 Start :: *World -> (BTree String,*World)
7 Start world = readSortedFile pad world
8
9 cleanpad :== // padnaam naar je Clean-distributie (directory waarin CleanIDE.exe staat)
10 pad :== cleanpad +++ "Examples\\ObjectIO Examples\\scrabble\\Nederlands\\Nederlands_lexicon"
11
12 :: BTree a = // type definitie van binaire zoekboom
13
14 readSortedFile :: String *env -> (BTree String,*env) | FileSystem env
15 readSortedFile ...
16
17 writeSortedFile :: String (BTree String) *env -> *env | FileSystem env
18 writeSortedFile ...