Send Beginners mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1.  How to check the help page of a function? (Peng Yu)
   2. Re:  How to check the help page of a function? (Francesco Ariis)
   3. Re:  ld: warning: directory not found for option
      '-L/private/tmp/ghc20150401-90656-rxy9sj/ghc-7.10.1/gmp-static'
      (akash g)


----------------------------------------------------------------------

Message: 1
Date: Fri, 15 May 2015 21:45:43 -0500
From: Peng Yu <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: [Haskell-beginners] How to check the help page of a function?
Message-ID:
        <cabrm6wkieyyuzoh9soijwuob2tgmxnofgbzvracotsdwqor...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Hi, I can not find how to check the help page of a function.

For example, I want to check the help page of "head". How should I do
it? (":help" doesn't seem to help.)

-- 
Regards,
Peng


------------------------------

Message: 2
Date: Sat, 16 May 2015 05:21:48 +0200
From: Francesco Ariis <[email protected]>
To: [email protected]
Subject: Re: [Haskell-beginners] How to check the help page of a
        function?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii

On Fri, May 15, 2015 at 09:45:43PM -0500, Peng Yu wrote:
> Hi, I can not find how to check the help page of a function.
> 
> For example, I want to check the help page of "head". How should I do
> it? (":help" doesn't seem to help.)

`:t head` will show the function signature (which in 90% of the cases
is more than enough to understand what the function does).

`:i function` will show the function signature and additionally tell
you in which module it is defined.



------------------------------

Message: 3
Date: Sat, 16 May 2015 09:51:57 +0530
From: akash g <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] ld: warning: directory not found for
        option  '-L/private/tmp/ghc20150401-90656-rxy9sj/ghc-7.10.1/gmp-static'
Message-ID:
        <CALiga_e6pGLdh-MmKeuvTOL=nrvv5aghyabdj4xe9h8bxug...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Seems like other people are also have the same issue.

https://github.com/Homebrew/homebrew/issues/38315

On Sat, May 16, 2015 at 7:38 AM, Peng Yu <[email protected]> wrote:

> Hi, I see the following error. Does anybody know what is wrong? Thanks.
>
> $ cat hello.hs
> main = putStrLn "Hello, World!"
> $ ghc -o hello hello.hs
> [1 of 1] Compiling Main             ( hello.hs, hello.o )
> Linking hello ...
> ld: warning: directory not found for option
> '-L/private/tmp/ghc20150401-90656-rxy9sj/ghc-7.10.1/gmp-static'
>
> --
> Regards,
> Peng
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.haskell.org/pipermail/beginners/attachments/20150516/f70759c6/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners


------------------------------

End of Beginners Digest, Vol 83, Issue 44
*****************************************

Reply via email to