add src/Primitives.hs