Hello, World! in FP
Example for versions
Furry Paws
~x is constant-value function (denoted with % in Interactive FP).
emit is a function which writes its argument to stdout.
main is a function which is the first to be invoked when the program is executed.
main = emit.(return ~"Hello, World!\n")
Comments
]]>blog comments powered by Disqus
]]>