Difference between revisions of "ShowS"

From HaskellWiki
Jump to navigation Jump to search
(Deleting page that hasn't been updated for over 10 years)
m (Reverted edits by Tomjaguarpaw (talk) to last revision by Lemming)
 
Line 1: Line 1:
  +
== Question ==
  +
  +
Why does <hask>shows</hask> return the funny type <hask>ShowS</hask> (i.e. <hask>String -> String</hask>) instead of just <hask>String</hask>?
  +
  +
== Answer ==
  +
  +
See [[Difference list]].
  +
  +
  +
[[Category:FAQ]]

Latest revision as of 15:19, 6 February 2021

Question

Why does shows return the funny type ShowS (i.e. String -> String) instead of just String?

Answer

See Difference list.