ghc-shakespeare-text

Interpolation with quasi-quotation
  • Overview
  • Builds
  • Updates
  • Bugs
  • Contents
  • Changelog
  • Sources
  • Relationships

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.

Active Releases Overview

Release Latest Released Version Version in Testing
{{html release}} 
{{html stable_version}} {{html testing_version}}

Upstream Summary

History

buildsys.package.list.change

Package list change for ghc-shakespeare-text: 'epel7'

Details
4 months ago - 2013-12-16 00:25:31

fedoratagger.tag.create

kmf added tag "haskell" to ghc-shakespeare-text

Details
5 months ago - 2013-11-23 09:43:32

buildsys.build.state.change

petersen's ghc-shakespeare-text-1.0.0.5-2.fc20 was deleted

Details
5 months ago - 2013-11-13 08:38:06

buildsys.tag

petersen's ghc-shakespeare-text-1.0.0.5-2.fc20 tagged into trashcan by oscar

Details
6 months ago - 2013-10-15 13:56:17

buildsys.package.list.change

Package list change for ghc-shakespeare-text: 'trashcan'

Details
6 months ago - 2013-10-15 13:56:17

Found a bug? File a ticket. Note: There's some caching going on here. If you expect something and don't see it, check back in 5 minutes.

This Web Site is licensed under the GNU Affero General Public License. You may get sources for the current running code from these repositories: