https://github.com/haskell-hvr/base-noprelude
All of `base` without the `Prelude` module
https://github.com/haskell-hvr/base-noprelude
Last synced: 7 months ago
JSON representation
All of `base` without the `Prelude` module
- Host: GitHub
- URL: https://github.com/haskell-hvr/base-noprelude
- Owner: haskell-hvr
- License: bsd-3-clause
- Created: 2015-05-24T11:01:13.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-01-30T07:58:21.000Z (over 2 years ago)
- Last Synced: 2024-05-08T20:15:34.933Z (about 1 year ago)
- Language: Haskell
- Homepage: http://hackage.haskell.org/package/base-noprelude
- Size: 41 KB
- Stars: 44
- Watchers: 7
- Forks: 25
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## `base-noprelude` - `base` package sans `Prelude`
This package is, as the title gives away, a `base`-replacement that allows to define and/or use custom `Prelude`s without having to use the `-XNoImplicitePrelude` language extension (or use `import Prelude ()`). I.e. instead of
```haskell
{-# LANGUAGE NoImplicitPrelude #-}module Main where
import CustomPrelude
import OtherStuff
```by having a `build-depends` on `base-noprelude` *instead* of `base` and having a `Prelude` module in scope (can be provided by the current package or a 3rd package from `build-depends`), one can just write
```haskell
module Main whereimport OtherStuff
```