Op di, 19-12-2006 te 18:14 -0600, schreef JP Sugarbroad:
> []
> % hat-trail z
> hat-trail: attempt to read beyond end of file
> hat-trail: offset = 0x300, filesize = 0x28b6
> hat-trail: errno = 0 (Success)
> Architecture: amd64 (x86_64)
This seems to be architecture specific bug. On i386 hat-
Package: hat
Version: 2.05-7
Severity: grave
% cat z.hs
data Node = Node String [Node] | Text String
tag t e@(Node t' _) | t == t' = [e]
tag _ _ = []
children (Node _ c) = c
children _ = []
text (Text s) = [s]
text _ = []
container s x = tag s x >>= children
textNode s x = container s x >>= te
2 matches
Mail list logo