
18 Apr
2006
18 Apr
'06
2:21 p.m.
On Mon, Apr 17, 2006 at 01:20:34PM +0200, Marc Weber wrote:
GHC stage restriction: `view' is used in a top-level splice, and must be imported, not defined locally
The solution was to change where elemFromList = listToMaybe $ drop 1 $(dropWhile (/= view) $ (xs++[x])) into : where elemFromList = listToMaybe $ drop 1 $ (dropWhile (/= view) $ (xs++[x])) ^ Really missleading error message ;) Marc