cabal-version: 2.4 name: FirstPrelude -- The package version. -- See the Haskell package versioning policy (PVP) for standards -- guiding when and how versions should be incremented. -- https://pvp.haskell.org -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change version: 0.1.2.0 -- A short (one-line) description of the package. synopsis: A version of Prelude suitable for teaching. description: The design goals are to simplify considerably the Prelude library so that basic functional programming can be taught without having to explain type classes. I have observed in several years of teaching Haskell that many beginner mistakes which in a language like ML would result in a clear error message instead result in an error message about a lack of type class instances. This is unfortunate as type classes cannot easily be taught immediately and so beginners are left without as much support until they learn more topics. FirstPrelude is designed to simplify away as much of this as possible by using very few type classes and making a few other simplifying choices. The goal is then for students to switch to regular Prelude later in the course. A synposis of the changes can be found on the project homepage. -- URL for the project homepage or repository. homepage: https://github.com/dorchard/FirstPrelude -- A URL where users can report bugs. -- bug-reports: -- The license under which the package is released. license: BSD-3-Clause -- The file containing the license text. license-file: LICENSE -- The package author(s). author: dorchard -- An email address to which users can send suggestions, bug reports, and patches. maintainer: dom.orchard@gmail.com -- A copyright notice. -- copyright: -- category: -- Extra files to be distributed with the package, such as examples or a README. extra-source-files: CHANGELOG.md build-type: Simple library -- Modules exported by the library. exposed-modules: FirstPrelude -- Modules included in this library but not exported. -- other-modules: -- LANGUAGE extensions used by modules in this package. -- other-extensions: -- Other library packages from which modules are imported. build-depends: base >= 4.0.0.0 && < 4.16.5.0 -- Directories containing source files. hs-source-dirs: src -- Base language which the package is written in. default-language: Haskell2010