[Haskell-beginners] How to understand the type "ShowS"?
Kim-Ee Yeoh
ky3 at atamo.com
Tue Sep 24 13:17:25 CEST 2013
On Tue, Sep 24, 2013 at 5:15 PM, yi lu <zhiwudazhanjiangshi at gmail.com>wrote:
> Prelude> :i ShowS
> type ShowS = String -> String -- Defined in `GHC.Show'
>
> It is a type of a function? I cannot understand this type, and don't know
> how to create functions of this type.
When you say "cannot" you probably mean "do not". Among the reasons are
this lack of ability is highly transient. And this transience is highly
dependent on the steps you take to change this.
There are heaps of freely available intro material on this. What have you
looked at?
-- Kim-Ee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130924/d06d2c5c/attachment.htm>
More information about the Beginners
mailing list