Generic string interpolation library

Currently i use interpolatedstring-perl6 library for string interpolations (sql statements etc) But i remember there were discussions on including such generic string templates into yesod. It would be good to get rid of another dependency. What is the status of it ? Regards, Vagif Verdi

It's done:
http://hackage.haskell.org/packages/archive/hamlet/0.8.1/doc/html/Text-Romeo...
http://hackage.haskell.org/packages/archive/hamlet/0.8.1/doc/html/Text-Romeo...Though
the name is silly and will likely be changed, the functionality is sticking
around. Romeo allows you to create "new languages", like Julius and
Coffeescript. I'll likely be including a pass-through HTML interpolator in
the next release of Hamlet as well. There's no docs on how to use it for
now, so just look at the Julius module source code.
Michael
On Sun, May 15, 2011 at 8:21 AM,
Currently i use interpolatedstring-perl6 library for string interpolations (sql statements etc)
But i remember there were discussions on including such generic string templates into yesod.
It would be good to get rid of another dependency.
What is the status of it ?
Regards, Vagif Verdi
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel

Hi,
What is the 'HTML interpolation' ?
I know only about mathematic interpolation processes
what is it ? ;)
Thanks
2011/5/15 Michael Snoyman
It's done: http://hackage.haskell.org/packages/archive/hamlet/0.8.1/doc/html/Text-Romeo...
http://hackage.haskell.org/packages/archive/hamlet/0.8.1/doc/html/Text-Romeo...Though the name is silly and will likely be changed, the functionality is sticking around. Romeo allows you to create "new languages", like Julius and Coffeescript. I'll likely be including a pass-through HTML interpolator in the next release of Hamlet as well. There's no docs on how to use it for now, so just look at the Julius module source code.
Michael
On Sun, May 15, 2011 at 8:21 AM,
wrote: Currently i use interpolatedstring-perl6 library for string interpolations (sql statements etc)
But i remember there were discussions on including such generic string templates into yesod.
It would be good to get rid of another dependency.
What is the status of it ?
Regards, Vagif Verdi
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
-- Best regards, Cheshkov Anton Phone: +7 909 005 18 82 Skype: cheshkov_anton

It's a system like Julius, but for producing HTML.
Michael
On Sun, May 15, 2011 at 12:14 PM, Anton Cheshkov
Hi,
What is the 'HTML interpolation' ? I know only about mathematic interpolation processes what is it ? ;)
Thanks
2011/5/15 Michael Snoyman
It's done: http://hackage.haskell.org/packages/archive/hamlet/0.8.1/doc/html/Text-Romeo...
http://hackage.haskell.org/packages/archive/hamlet/0.8.1/doc/html/Text-Romeo...Though the name is silly and will likely be changed, the functionality is sticking around. Romeo allows you to create "new languages", like Julius and Coffeescript. I'll likely be including a pass-through HTML interpolator in the next release of Hamlet as well. There's no docs on how to use it for now, so just look at the Julius module source code.
Michael
On Sun, May 15, 2011 at 8:21 AM,
wrote: Currently i use interpolatedstring-perl6 library for string interpolations (sql statements etc)
But i remember there were discussions on including such generic string templates into yesod.
It would be good to get rid of another dependency.
What is the status of it ?
Regards, Vagif Verdi
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
-- Best regards, Cheshkov Anton Phone: +7 909 005 18 82 Skype: cheshkov_anton
participants (3)
-
Anton Cheshkov
-
Michael Snoyman
-
vagif.verdi@gmail.com