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

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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