Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4077478
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T17:33:19+00:00 2026-05-20T17:33:19+00:00

I’m using a library, which I’ve loaded into GHCI. From the names of the

  • 0

I’m using a library, which I’ve loaded into GHCI.

From the names of the functions is not obvious to me which one I should be using; I’m sure it exists, and want to see a list of type signatures of the functions available to me. I don’t know how to do this.

  • I can get a list of all the functions exported by the library by typing the module name and using tab-completing in GHCI.
  • Hoogle is useless to me, because the library in question isn’t covered. Hoogle-style of searching would be useful, though.
  • I know of GHCI’s :t, but it only seems to work for a single function, and I don’t want to do this for every single function that is being exported by the library.
  • Running grep -R :: ./* or similar over the source directory may omit functions without explicit type signatures.
  • The library has Haddock documentation, but it has around 1000 functions spread out amongst dozens of submodules, and it’s tedious and error prone to manually search them all.

I’m open to try any method, but obviously prefer what’s simple, portable, and repeatable.

Is there a way to find the type signatures of all exported functions in a library? Or to find out which functions have a type signature that includes a certain type?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T17:33:20+00:00Added an answer on May 20, 2026 at 5:33 pm

    just use :browse Module.Name and you’ll see all the values exported by the module:

    > :browse Data.Tagged
    newtype Tagged s b = Tagged {unTagged :: b}
    asTaggedTypeOf :: s -> Tagged s b -> s
    retag :: Tagged s b -> Tagged t b
    tagSelf :: a -> Tagged a a
    untag :: Tagged s b -> b
    untagSelf :: Tagged a a -> a
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am reading a book about Javascript and jQuery and using one of the
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a text area in my form which accepts all possible characters from
I am currently running into a problem where an element is coming back from
I'm making a simple page using Google Maps API 3. My first. One marker
I'm not entirely sure how I managed to jack this up. http://pretty-senshi.com If you
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
For some reason, after submitting a string like this Jack’s Spindle from a text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.