Skip to content

A really small example of the Backpack module system for Haskell

License

Notifications You must be signed in to change notification settings

danidiaz/really-small-backpack-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c4c6d6e · Dec 29, 2024
Jul 2, 2021
Apr 8, 2021
May 12, 2021
Jul 3, 2021
Jul 22, 2023
Apr 7, 2021
Dec 26, 2020
Dec 25, 2020
Dec 31, 2020
Dec 28, 2020
Jan 10, 2021
Apr 7, 2021
Apr 9, 2021
Apr 8, 2018
Apr 8, 2018
Dec 29, 2024
Jul 22, 2023
Jul 2, 2021

Repository files navigation

really-small-backpack-example

This is a small tutorial on the very basics of the Backpack module system. (Well... at least it started that way. It has grown a bit over time.)

It requires cabal-install >= 3.2.0.0 and GHC >= 9.0.1. You can install both using ghcup.

It is a multi-package project. You can build all the packages from this folder using:

cabal build all

Any corrections welcome!

lessons

Further resources for learning Backpack

User guides

The theory behind Backpack

  • Edward Z. Yang's thesis is quite readable and gives a good account of the motivations for Backpack.

  • Edward Z. Yang's blog.

  • Scott Kilpatrick's thesis. Not as directly applicable to the current implementation of Backpack as Edward Z. Yang's thesis, but useful insights can be gleaned here.

The implementation

Other Backpack-related stuff

Stuff about module systems in general

About

A really small example of the Backpack module system for Haskell

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published