This is a terse document covering the anatomy of a package built for the pacman package manager.
The following example commands can mostly run verbatim to manually create a
pty | |
pty.o |
#include <iostream> | |
#include <numeric> | |
#include <vector> | |
using namespace std; | |
// In Haskell, the Monoid typeclass is parameterised by only a type. Such a | |
// definition requires “newtype hacks” to produce different monoids on the same | |
// type. This definition is parameterised by both the type and the function, and | |
// as such can be used to define different monoids on the same type without any | |
// interference. |