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 57127
In Process

The Archive Base Latest Questions

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

I know a Haskell module name, but I can’t figure out in what package

  • 0

I know a Haskell module name, but I can’t figure out in what package it is defined. This is bad because I can’t compile without a package exposing this module.

Specificaly it is Text.Regex that I can’t locate, but I would like to know how to solve that problem in general.

  • 1 1 Answer
  • 0 Views
  • 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. 2026-05-10T17:38:34+00:00Added an answer on May 10, 2026 at 5:38 pm

    http://www.haskell.org/ghc/docs/latest/html/users_guide/packages.html

    ghc-pkg find-module Text.Regex

    But that only works for (a) recent GHCs, and (b) packages installed on your system.

    You can also grep through the package file (e.g. /usr/lib/ghc-6.8.2/package.conf) to see what’s installed.

    You can also use either the haskell API search engines hoogle or the hackage search engine hayoo.

    Text.Regex is in the package regex-base, and a few others built on top of it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Know this might be rather basic, but I been trying to figure out how
I know that indent is important in Haskell. How can i indent this program?
This question is for the people who know both Haskell (or any other functional
I know that it's a subject that can raise a lot of debate, but
I know this is fairly subjective, but I'm diving into testing and learning about
i have a question regarding this Haskell code: module Queue (Queue, emptyQueue, queueEmpty, enqueue,
I know this sounds like a stupid question, but here it is: Is there
As some of you may know, the type inference errors in Haskell can be
How can I find out what needs to go into the module.cabal build-depends? I
I know newtype is more often compared to data in Haskell, but I'm posing

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.