Wednesday, July 30, 2008

Practical usage of "Tangible Functional Programming"

Just watched the Google Talk about " Tangible Functional Programming" by Conal Elliott.

Got the idea of using it in practice by wrapping up existing applications and offering them inside the framework. For example a "transformation" around say, Firefox, that takes as input a string and represents as output the webpage (maybe of primitive type image) . An example application would be: input text box "www.google.com/search?q=" , another input text box with the actual query, say "Python", and the transformation "browse with Firefox"

Or a transformation for mysql command line utility, that would take inputs: database + username + password + SQL statement and return the query result as text.

Many applications , including GUIs, can be accessed on the simple command line + parameters paradigm, and as such could be wrapped up as TV transformations.