fay-0.4.0.1: A compiler for Fay, a Haskell subset that compiles to JavaScript.

Safe HaskellSafe-Infered

Language.Fay.Show

Description

Convert a Haskell value to a Fay value.

Synopsis

Documentation

showToFay :: Show a => a -> StringSource

Convert a Haskell value to a Fay value. To read this in from JS, use Fay.eval() which will evaluate the code in the context of Fay.