Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 4
    \$\begingroup\$ Am I the only one who thinks Haskell's version of print is dafter than LOLCODE's? \$\endgroup\$ Commented Oct 28, 2014 at 8:30
  • 5
    \$\begingroup\$ @Pharap: Haskell's version of print is called print, and it does something rather un-daft: print some value, of any¹ type – but in valid Haskell notation! So print 5 yields 5 as output, and print "Hello World!" yields "Hello World!"; but the challenge asked for Hello World, without quotation marks (which wouldn't be valid Haskell). \$\endgroup\$ Commented Oct 28, 2014 at 10:43
  • 3
    \$\begingroup\$ @Pharap ¹It doesn't actually work with any type, only with Showable types. \$\endgroup\$ Commented Oct 28, 2014 at 10:45
  • 1
    \$\begingroup\$ @leftaroundabout Well, suum cuique pulchrum est I suppose. \$\endgroup\$ Commented Oct 28, 2014 at 10:52
  • \$\begingroup\$ @ceasedtoturncounterclockwis data W=World;data H=Hello W; Hello World \$\endgroup\$ Commented Dec 8, 2017 at 4:27