[Haskell] Haskell [x] and x notation - as-pattern example

Denis Kasak denis.kasak at gmail.com
Wed Apr 3 12:13:43 CEST 2013


On 3 April 2013 11:15, Henning Thielemann <lemming at henning-thielemann.de
>wrote:
>    x :: Char
>    xs :: [Char]
>
>    [x] :: Char
>

You meant [x] :: [Char] here, of course. :-)

-- 
Denis Kasak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell/attachments/20130403/a95aebc5/attachment.htm>


More information about the Haskell mailing list