Popularity
2.5
Declining
Activity
0.0
Stable
3
3
0

Monthly Downloads: 23
Programming language: LLVM
License: LicenseRef-PublicDomain
Tags: Language    

ihs alternatives and similar packages

Based on the "Language" category.
Alternatively, view ihs alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of ihs or a related project?

Add another 'Language' Package

README

ihs: Interpolated Haskell

Hackage Build Status

This abomination allows you to quickly generate text files in a style similar to ERB from Ruby or PHP. But you stay typesafe!

{{
let bottles 0 = "no more bottles"
    bottles 1 = "1 bottle"
    bottles i = show i ++ " bottles"
-}}
{{for_ [99,98..0] $ \i ->}}
{{-if i == 0 then-}}
No more bottles of beer on the wall, no more bottles of beer.
Go to the store and buy some more, 99 bottles of beer on the wall.
{{-else-}}
{{=bottles i}} of beer on the wall, {{=bottles i}} of beer.
Take one down and pass it around {{=bottles (i-1)}} of beer on the wall.
{{end}}
{{end-}}

This is free and unencumbered software released into the public domain.