packages feed

fay-0.9.1.0: tests/case.hs

{-# LANGUAGE NoImplicitPrelude #-}

main = print (case True of
               True -> "Hello!"
               False -> "Ney!")

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