Fedora 19 Update: ghc-shakespeare-text-1.0.0.5-1.fc19

updates at fedoraproject.org updates at fedoraproject.org
Wed Jul 3 01:42:08 UTC 2013


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2013-11612
2013-06-24 18:18:51
--------------------------------------------------------------------------------

Name        : ghc-shakespeare-text
Product     : Fedora 19
Version     : 1.0.0.5
Release     : 1.fc19
URL         : http://hackage.haskell.org/package/shakespeare-text
Summary     : Interpolation with quasi-quotation
Description :
interpolation with quasi-quotation: stick haskell variables into haskell
strings

Note there is no dependency on haskell-src-extras. If you don't mind that
dependency, you may want to look at using these packages: Interpolation,
interpolatedstring-perl6, interpolatedstring-qq.

This package has 1 other general feature that those others may not (but would
be easy to duplicate): instead of using quasi-quoting you can also use an
external file. It also has url/embeding interpolation, with \@ and \^, which
are used in Yesod.

This package also uses blaze-builder for efficiently constructing strings (I am
not sure what the other packages use). This might be of interest to you for
large templates or performance sensitive code, or otherwise having a nice
interface to blaze-builder

Shakespeare is a template family for type-safe, efficient templates with simple
variable interpolation . Shakespeare templates can be used inline with a
quasi-quoter or in an external file. Shakespeare interpolates variables
according to the type being inserted. In this case, the variable type needs a
ToText instance.

Please see http://www.yesodweb.com/book/shakespearean-templates for a more
thorough description and examples of the shakespeare family of template
languages.

--------------------------------------------------------------------------------
Update Information:

Interpolation with quasi-quotation
--------------------------------------------------------------------------------
References:

  [ 1 ] Bug #838780 - Review Request: ghc-shakespeare-text - Interpolation with quasi-quotation
        https://bugzilla.redhat.com/show_bug.cgi?id=838780
--------------------------------------------------------------------------------

This update can be installed with the "yum" update program.  Use 
su -c 'yum update ghc-shakespeare-text' at the command line.
For more information, refer to "Managing Software with yum",
available at http://docs.fedoraproject.org/yum/.

All packages are signed with the Fedora Project GPG key.  More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------


More information about the package-announce mailing list