packages feed

fay-0.4.0.1: tests/9.hs

main = print (head (tail (fix (\xs -> 123 : xs))))

print :: Double -> Fay ()
print = ffi "console.log(%1)" FayNone

head (x:xs) = x

fix f = let x = f x in x

tail (_:xs) = xs