[Haskell-beginners] How to understand the type "ShowS"?
yi lu
zhiwudazhanjiangshi at gmail.com
Tue Sep 24 13:43:53 CEST 2013
I have just looked at the API of Prelude, and I remember similar definition
for parallel haskell.
On Tue, Sep 24, 2013 at 7:17 PM, Kim-Ee Yeoh <ky3 at atamo.com> wrote:
>
> 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
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130924/cf81c372/attachment.htm>
More information about the Beginners
mailing list