2 module R = RecommPccFor
4 let step k st outs ins =
5 if st <> T.OO then k st outs ins else
7 | "GENERATED" :: "LIBRARY" :: tl -> k T.OK ("LIBRARY" :: "GENERATED" :: outs) tl
8 | "STREAMS" :: tl -> k T.OK ("STREAMS" :: outs) tl
9 | "LISTS" :: tl -> k T.OK ("LISTS" :: outs) tl
10 | "BOOLEANS" :: tl -> k T.OK ("BOOLEANS" :: outs) tl
11 | "LOGIC" :: tl -> k T.OK ("LOGIC" :: outs) tl
12 | "FUNCTIONS" :: tl -> k T.OK ("FUNCTIONS" :: outs) tl
13 | "RELATIONS" :: tl -> k T.OK ("RELATIONS" :: outs) tl
14 | "GROUND" :: "NOTATION" :: tl -> k T.OK ("NOTATION" :: "GROUND" :: outs) tl
15 | _ -> k T.OO outs ins