fay-text-0.3.0.1: Fay Text type represented as JavaScript strings

Safe HaskellNone

Fay.Text.Type

Description

Module to be shared between server and client.

This module must be valid for both GHC and Fay.

For GHC this is an alias for Data.Text, for Fay it's an opaque data type represented by JavaScript strings.

Synopsis

Documentation

fromString :: String -> TextSource

Have this in scope with the OverloadedStrings and BindableSyntax extensions and Fay will replace all string literals with Text.