summaryrefslogtreecommitdiff
path: root/files/practicum/Frequentielijst.icl
blob: a0f6c58f8e4560cc89644415c84d88e9c5272d1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
implementation module Frequentielijst

import StdEnv, FrequentielijstGUI

// Zonder GUI:
Start       = lijst
// Met GUI:
Start world = toonFrequentielijst lijst world

lijst       = sort (frequentielijst tekst)
tekst       = ['Hello world! Here I am!']


frequentielijst :: [a] -> [(a,Int)] | == a
frequentielijst ...